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.
  1. First connect to http://localhost:10039/wps/mycontenthandler/dav/skinlist WebDAV URL and you will see list of all the existing skins.
  2. 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
  3. Rename the ibm.portal.7002NoSkin folder to webspherenotes.firstmodularskin
  4. Open the webspherenotes.firstmodularskin\metadata\localized_en.properties file to rename the theme like this
    
    #
    #Thu May 10 10:41:16 PDT 2012
    description=My first modular skin
    title=First Modular Skin
    
  5. Change the content of the theme_en.html to look like this
    
    <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>
    
    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 First Modular Skin - to the portlet title
  6. Then copy the webspherenotes.firstmodularskin folder back to the http://localhost:10039/wps/mycontenthandler/dav/skinlist like this
  7. 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

1 comment:

general manager said...

This is a good share about "custom console skin",..Thanks for sharing,..