Tuesday, 6 November 2012

Creating Custom Layout for Page in IBM WCM


1. Connect to webDAV - http://localhost:10039/wps/mycontenthandler/dav/fs-type1/
2. Copy 'customLayout' folder from 'layout-templates' to local drive.
3. Changed the 'customLayout' folder name to your layout name which you want to provide.
4. Change the icon.gif to your icon. (This is for showing  image for look)
5. In 'metadata' folder --> 'localized_en.properties' file, change 'title' to your layout folder name.
6. Copy the updated folder back from local drive to layout-template.
7. Now you can see your custom layout on portal (You may need to re-login if it doesn’t work) at Actions--
    >EditPage-->Customize-->ChangeLayout.
8. In webDav, in your layout folder that you created, change layout.html and layout.css files as per your
    client requirement.
9. Now goto Actions-->Edit page-->change layout-->select your layout-->save.
10. Now your layout will apply to the page, to this add webcontentviewer portlet.

Thanks,
MS


No comments:

Post a Comment