Peter B Schnitzler commented on May 6, 2013

Re: Deploying and developing IBM WebSphere Portal 8 themes: A step-by-step guide

You need to create the profile using a plugin.xml. A sample can be found here: http://www-10.lotus.com/ldd/portalwiki.nsf/dx/Adding_new_Dojo_Modules_in_IBM_Portal_8.0 - Deploying the Custom Module (WebSphere Portal 8.0)

Philip West commented on May 6, 2013

Re: Deploying and developing IBM WebSphere Portal 8 themes: A step-by-step guide

Hi, thanks for the article - very helpful!

I'm struggling to create a custom profile. The sample xmlaccess script defines the default profile as:

In my custom theme I've placed a new profile.json file in the path themes/customtheme/profiles. However, the theme is not reflected when setting the theme profile using the advanced tab in page properties. I'm sure I'm missing something obvious here... any help would be greatly appreciated!

Brad Thurber commented on Feb 22, 2013

Re: Deploying and developing IBM WebSphere Portal 8 themes: A step-by-step guide

Wonderful article!

A couple notes though:

1) I ran into the same issue Alex Gilleran pointed out on the Nov 29 comment and provided a fix for. Just a warning to others that the attached RegisterCustomTheme3.xml needs to be modified as Alex pointed out or non-static pages will not render portlets.

2) The WAR-based theme doesn't appear to like the WCM inline editing components yet. See https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14944011� for a description of the issue that I and others are having.

Peter B Schnitzler commented on Jan 25, 2013

Re: Deploying and developing IBM WebSphere Portal 8 themes: A step-by-step guide

Hello Ivo,

I had a second look and actually the files " ibm-web-ext.xm" are added when you create the project within RAD. You need to choose WebSphere Portal 8 as the target runtime when creating the project (I also added that to the description in the article.).

About the values in the xml. You can certainly change them - you just need to make sure that if e.g. the uniquename of a skin and the reference from a theme to that skin will match. (You could probably actually remove the "objectID" from the skin xml - the important statement there is the unique name.)

Hope that helps!

peter

Ivo Ramirez commented on Jan 23, 2013

Cont: A suggestion to improve this great post

from the last post

...while it is kind of obvious that I must change context-root value and even (it was taken away at submit)

Ivo Ramirez commented on Jan 23, 2013

A suggestion to improve this great post

Hello Peter,

you know, about "ibm-web-ext.xmi" file it was a little bit confusing because at step #5 in "Dynamic resources" section you can see this text:

5. Now copy the resources retrieved from the shipped theme to the project (see figure 1):

skins → WebContent/skins

themes → WebContent/themes

WEB-INF/decorations.xml → WebContent/WEB-INF/decorations.xml

WEB-INF/tld → WebContent/WEB-INF/tld

As you can see there is no reference to this file. However Figure 1 shows it.

Well, I am just suggesting that xmi files could be mentioned at step 5 next to decorations.xml file and tld folder.

About the parameters at RegisterCustomTheme3.xml file. I´m not quiet sure if it possible to change values for objectid, uniquename and resourceroot while it is kind of obvious that I must change context-root value and even

Here´s an example of my file

objectid="ibm.portal.80StandardCustom" <<<=== Can

uniquename="ibm.portal.80StandardCustom" <<<=== I change

resourceroot="ibm.portal.80StandardCustom" <<<=== these (for example "ivo.portal.Standard")

context-root="/ivoThemeStatic" type="default">

Ivo´s Theme - Standard

Sorry for the length :) of this message but I want to be as clear as possible.

Gracias

Peter B Schnitzler commented on Jan 22, 2013

Re: Deploying and developing IBM WebSphere Portal 8 themes: A step-by-step guide

Hello Ivo,

glad that the article is helpful to you!

Copying the ibm-web-ext.xmi file is described in the section „Assembling theme artifacts

- Dynamic resources. (You location should be the correct one.)

You can find the sample XML in the Attachments section on this page or by using the following URL: http://www-10.lotus.com/ldd/portalwiki.nsf/xsp/.ibmmodres/domino/OpenAttachment/ldd/portalwiki.nsf/1508DBB22D4325FB85257A520061F1AC/attach/RegisterCustomTheme3.xml

Regarding the parameters: Which ones do you refer you?

Peter

Ivo Ramirez commented on Jan 18, 2013

Re: Deploying and developing IBM WebSphere Portal 8 themes: A step-by-step guide

Peter,

I am working on migrate from WPS 6.1.5 to WPS 8 so, customizing my theme it is a completely new experience for me. And I agree with our mates when they say how helpfull your topic is.

Here are a couple suggestions.

You mentioned the file ibm-web-ext.xmi but after I´ve followed your instructions I´ve realized that there were no such files (either at static and dynamic folders). So I went to "opt/WebSphere/PortalServer/theme/wp.theme.themes/default80/installedApps/DefaultTheme80.ear/DefaultTheme80.war/WEB-INF" folder in order to take a copy of it. Was it correct?

There´s something else, almost at the end you mentioned the file "RegisterCustomTheme.xml". It might be a good idea to mention where it is located. You know, I googled it with good luck ;)

I believe it will be good for this tutorial to include a brief example about how to edit it, I mean what parameters to change.

I changed some parameters in this file hoping not to break it down.

Gracias :)

Alex Gilleran commented on Nov 29, 2012

Re: Deploying and developing IBM WebSphere Portal 8 themes: A step-by-step guide

I followed this guide, but when loading an OOTB page such as Login or Profile Self Care, the theme would load but the portlets in the middle would not. After a lot of hair-pulling, it turned out that the problem was that the sample XML has the context-root value for the skins set to "/CustomTheme8Static" - it should be "/CustomTheme8Dynamic".

Unfortunately I can't upload a new XML file to the wiki article, could someone please change that?

Peter B Schnitzler commented on Oct 9, 2012

Re: Deploying and developing IBM WebSphere Portal 8 themes: A step-by-step guide

Hi Vivian,

glad it was helpful!

Is the hidden skin the only that one that is not working? (The copy process for that one is a bit different from the others.)

About the lm:template - usually you should not have to change it since you probably don't want to change that part and it can use the standard portal code.

Vivian Melendez commented on Oct 4, 2012

Re: Deploying and developing IBM WebSphere Portal 8 themes: A step-by-step guide

Article was very helpful . I was able to create a custom theme following the instructions, however, I am having issues with the skins, I am getting some parsing errors. I also did some research and some other people are having same issue , specifically on the template layouts. (it doesn't display the portlets) SRVE0190E: File not found: /skins/Hidden/skin.html It is not finding it because it looks it did not put the right path to the 'custom theme. Please note , in your document doesn't indicate to add the custom_layout properties , I added it (lm:template) since the program was giving errors .

Peter B Schnitzler commented on Aug 20, 2012

Re: Deploying and developing IBM WebSphere Portal 8 themes: A step-by-step guide

Glad the article was helpful to you!

The file "default.css" is not actually being read when you don't use explicitly the uncompressed version of "master.css". But instead of changing these files I would recommend using the new module framework to add a new CSS file that will overwrite the styles ( http://www-10.lotus.com/ldd/portalwiki.nsf/dx/The_module_framework_wp8 ).

If you want to see which files are actually being loaded, you can also use the following trace: http://www-10.lotus.com/ldd/portalwiki.nsf/dx/Debugging_modules_wp8

Proli Ekan commented on Aug 12, 2012

Re: Deploying and developing IBM WebSphere Portal 8 themes: A step-by-step guide

Nice Artile Peter... Quick question. I exactly followed the same document and it worked.

My question is since we pointed to war in bootstrap.jspf , we do not need any more webdev directory files right..

I changed the default.css with some style elements for wpthemeheader , and i do not see it is getting reflected. when i inspected in Mozilla i see it is pointing to wps/mycontenthandler/....... .. Since static resources are in the same ear file, why does it is not taking the changes..