- First connect to
http://localhost:10039/wps/mycontenthandler/dav/skinlistWebDAV URL and you will see list of all the existing skins. - Since i want this theme to be very minimal i started with
ibm.portal.7002NoSkin, so i copied that folder to my local machine like this - Rename the
ibm.portal.7002NoSkinfolder towebspherenotes.firstmodularskin - Open the
webspherenotes.firstmodularskin\metadata\localized_en.propertiesfile to rename the theme like this# #Thu May 10 10:41:16 PDT 2012 description=My first modular skin title=First Modular Skin - Change the content of the theme_en.html to look like this
Basically i did take out most of the code from the skin except the code required for the portlet title and body and i am adding<span class="wpthemeAccess"> <h4><a rel="dynamic-content" href="lm:title"></a></h4> </span> <div class="wpthemeOverflowAuto"> <!-- lm:control dynamic spot injects markup of layout control --> <a rel="dynamic-content" href="lm:control"></a> </div>First Modular Skin -to the portlet title - Then copy the
webspherenotes.firstmodularskinfolder back to thehttp://localhost:10039/wps/mycontenthandler/dav/skinlistlike this - Now when you login into Portal admin console you should see the Custom Skin in the list of skins so assign it to either Portal 7002 Theme or some other theme of your choice, i am adding it to Portal 7002 theme like this
Creating custom skin for modular theme
In the Create custom Modular Theme i talked about how to create a custom theme based on modular theme architecture, Now i wanted to create a Custom Skin to go along with that theme so i followed these steps.
Subscribe to:
Post Comments (Atom)



No comments:
Post a Comment