Skip to main content link. Accesskey S
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • WebSphere Portal Family wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search
IBM Translated Product Documentation...

 IBM WebSphere Portal 8 Product Documentation

 IBM Web Content Manager 8 Product Documentation

 IBM WebSphere Portal Express 8 Product Documentation
 IBM WebSphere Portal Enable 7 for zOS Product Documentation
 Supplemental Documentation

 IBM WebSphere Portal 8 Message Catalog
 IBM WebSphere Portal 7 API and SPI Reference

 Documentation for Solutions Catalog for V8
 IBM Government to Business template for WebSphere Portal

 IBM Banking template for WebSphere Portal
 IBM Insurance template for WebSphere Portal
 IBM Retail Banking template for WebSphere Portal- Extension for mobiles

 IBM Retail Vendor template for WebSphere Portal
 IBM Translated Product Documentation

Tag Cloud

  • 6.0
  • 6.1
  • 6.1.0.1
  • 6.1.5
  • 7.0
  • 7.0.0.2
  • 8.0
  • actions
  • administrator
  • authoring
  • Banking template
  • best practices
  • blogs
  • builder
  • building a site
  • caching
  • catalog
  • Clickstream Engine
  • clusters
  • ConfigEngine tasks
  • content
  • customizing
  • databases
  • demo
  • deployment
  • deployment scenario
  • developer
  • developing
  • device class
  • elements
  • examples
  • Express
  • feature set
  • fix pack 2
  • Government to Business template
  • info center
  • information center
  • installation
  • installing
  • LDAP
  • Learning
  • libraries
  • LikeMinds Recommendation Engines
  • logging
  • mentors
  • message catalog
  • messages
  • migration
  • mobile
  • mobile devices
  • mobile experience
  • mobile experience 8.0
  • mobile theme
  • mobile webkit
  • MPA
  • multiplatform
  • pages
  • performance
  • personalization
  • planning
  • portal
  • Portal 6.1
  • Portal 8 theme
  • portlets
  • product doc
  • product documentation
  • projects
  • properties
  • Redbooks
  • Redbooks Wiki
  • remember me cookie
  • resources
  • REST
  • Retail Vendor template
  • rules
  • samples
  • search
  • security
  • sifters
  • sites
  • solutions catalog
  • syndication
  • test infrastructure
  • theme
  • theme optimization
  • topologies
  • troubleshooting
  • tutorials on personalization
  • video
  • wcm
  • web content
  • webkit
  • WebSphere Portal
  • WebSphere Portlet Factory
  • wikis
  • workflows
  • worksheet
  • XML configuration interface
  • z/os
  • zos
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Supplemental Documentation > Layouts
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
(Current editable edition)
Original noneditable edition
Current editable edition
(Original noneditable edition)

Layouts 

expanded Abstract
collapsed Abstract
You can scope layouts so that only certain ones show up in your custom theme. The IBM® WebSphere Portal 7.0.0.2 theme included with the portal uses this technique.



You can scope layouts so that only certain ones show up in your custom theme. The IBM® WebSphere Portal 7.0.0.2 theme included with the portal uses this technique.
  1. Decide which layouts you would like to scope to the theme. The layouts do not all need to come from the same place.
  2. Open the file changeLayout.json in WebDAV at dav/fs-type1/themes/myCustomTheme/system. Change the file contents to point to a layouts.json file that holds the scoped layouts:
    • {
      localizationPackageName:"com.ibm.bundles",
      localizationBundleName:"Shelf",
      categories:   [
      {
      "label":"add_content_all",
      "searchStr":"shelf_searchAll",
      "datastore":"com.ibm.data.JsonStore",
      "url":ibmCfg.themeConfig.themeRootURI+"/system/layouts.json"
      }
      ]
      }

  3. Open the file layouts.json in WebDAV at dav/fs-type1/themes/myCustomTheme/system. If the file does not exist, create the file.
    1. Make sure that the file has the following content:
      • {
        localizationPackageName:'com.ibm.bundles',
        localizationBundleName:'Shelf', identifier:'label', items:    [
        ]
        }

    2. For each scoped layout in dav/fs-type1/themes/myCustomTheme/layout-templates, add an entry like the following to the json array in the file layouts.json . For example, here is an entry for a layout stored in WebDAV at dav/fs-type1/themes/myCustomTheme/layout-templates:
      • {'label':'My Layout','url':'dav:fs-type1/themes/myCustomTheme/layout-templates/myLayout/','id':'myLayout','thumbnail':ibmCfg.themeConfig.themeRootURI+'/layout-templates/myLayout/icon.gif'}

  4. Refresh your browser cache.
  5. Reload the page to view the scoped layouts in the Change Layout tab of the toolbar.
Parent topic: Theme customization

expanded Article information
collapsed Article information
Category:
Supplemental Documentation, Product Documentation,
Tags:
theme optimization, fix pack 2, 7.0.0.2, theme, device class

This Version: Version 2 February 22, 2012 12:14:36 PM by IBM  IBMer

expanded Attachments (0)
collapsed Attachments (0)

 


expanded Versions (2)
collapsed Versions (2)
Version Comparison     
Version Date Changed by               Summary of changes
This version (2) Feb 22, 2012 12:14:36 PM IBM   Edition 4: Added new articles about device classes.
1 Feb 2, 2012 11:14:11 AM IBM   Edition 3: Added new articles to explain the 7.0.0.2 theme and what fi...
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • IBM Social Business User Experience Blog
  • IBMSocialBizUX on Twitter
  • IBMSocialBizUX on Facebook
  • Lotus product forums
  • IBM Social Business UX blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use