Vaibhav Labhane commented on Apr 23, 2014

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

Thanks a lot for sharing this Peter.

2 quick questions..

1. If I have to develop more than 1 theme each one of it should be in separate context root or I can still have the same.

2. For making new skins, would it be good to copy the 'Standard' skin folder, renaming it and keep it in /WebContent/skins/$nameofSkin and update the registeration file accordingly.. ?

Peter B Schnitzler commented on Feb 14, 2014

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

Hi Geoffrey,

actually if you are not using content spots that have a condition (e.g. only render on mobile devices...) you can directly use the path in the JSP and you don't have to use the REP.

Hope that helps.

peter

Geoffrey C Peart commented on Jan 30, 2014

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

Is it possible to register the dynamic content spots via a plugin file or other mechanism in the EAR instead of through the admin console?

Rajesh Radhakrishnan commented on Jan 17, 2014

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

Hi Ivo,

Need one clarification from you.I can see that you were migrating from Portal 6.5 to portal 8.

We are also migrating our Theme and portlets from v6.5 to v8.0. But none of our portlets are loading using our theme in v8.0 whereas it is working fine in v6.5

Please let us know what approach you followed.

Did you used your v6.5 theme project and modifed it according to v8.0. If so can you give us an overview of what changes you made.

None of our portlets are loading in the theme.Also we need to use client side rendering for our portlets.

Your comments will be greatly helpful to us.

thanks,

Rajesh.

Irfan . Mughal commented on Oct 31, 2013

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

i am using IBM Rational® Application Developer for WebSphere® Software Version: 9.0.0 Build ID: RADO90-I20130531_1619 did not find Select File --- New --- Project --- Dynamic Web Project. Which RAD version should i use. if i continue to use version 9 will it make any difference. what steps i have to follow. kindly guide.

thx

Peter B Schnitzler commented on Sep 19, 2013

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

Hello Henok,

thank you for your comment! I checked and the link was actually pointing to the 7.0.0.2 documentation. I updated it to:

http://www-10.lotus.com/ldd/portalwiki.nsf/xpDocViewer.xsp?lookupName=IBM+WebSphere+Portal+8+Product+Documentation#action=openDocument&res_title=Copy_the_dynamic_resources_for_your_theme_wp8&content=pdcontent

thanks,

peter

Henok Wondem commented on Sep 2, 2013

Where to Copy Dynamic files from

Hi Peter,

In the section about copying dynamic resources, you have added a link to another page. On that page, it says you should copy the dynamic files from:

PortalServer_root\theme\wp.theme.modules\webapp\installedApps\ThemeModules.ear\ThemeModules.war

However, on this page, you say we should copy the files from:

/PortalServer/theme/wp.theme.themes/default80/installedApps/DefaultTheme80.ear/DefaultTheme80.war

I compared a couple of the JSPs in the dynamicSpots folder in these two locations, and the JSPs are different. Which location is the correct one?

Thanks for your help,

Henok

Rick Lacy commented on Jun 8, 2013

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

Thank you so much for this article, especially the deployment script! It helped us resolve an old caching problem we had deploying skins from a war file.

Megan Crouch commented on May 23, 2013

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

Brian, the file is now attached. I think it did not work when I tried attaching it a few weeks ago.

Brian Duncan commented on May 21, 2013

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

I don't see any attachment for the deployment script. Am I missing something? Where do I get this attachment?

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..