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

Categories

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 > IBM Redbooks: Building a Web site using Lotus Web Content Management 6.1 > 3.2.7.4 Creating the Menu Component
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

3.2.7.4 Creating the Menu Component 

expanded Abstract
collapsed Abstract
No abstract provided.
Table of contents Previous Next

Components


Menu Component


In this article, we provide guidance on two methods for creating the Menu Component. We describe the approach for the following:
  • Creating Menu Component using authoring template
  • Creating Menu Component using authoring template and site area

Creating Menu Component using authoring template


In this guided practice, you create a menu that uses the authoring template as search criteria. It allows users to find content throughout the Web site independently of a site area. The menu that you create in this section appears on the home page displaying the 4 main site areas using images.

This content page displays content that has authoring template General assigned to it, but that is linked to different site area.

To create a menu using categories as search criteria, follow these steps:
1. Click New and choose Component Menu.
2. In the name field, enter Menu-HomePage
3. In the Menu Element Query, choose Authoring Templates
4. Click on Select Authoring Template
5. Click Add
6. Choose General
7. Click Ok
8. In the Design for each menu search result, add the following Html:

    Hint
    This is referencing the component stored in the Image field of the content items.




To be able to preview the menu, we have to create the content first

Creating Menu Component using authoring template and site area



In the following steps, we will show you how to create a very similar menu to the previous one, but by choosing both the site area and the authoring template. We could have implemented it with the site area only, but since we have other content (ex. Default content) that should not appear in the menu, we had to add the authoring template as a search parameter as well.

This menu will be displayed when clicking on the "Where we are" in the left navigator. The page will first display the default content of the site area followed by the menu. Refer to Figure 22 showing a part of the "where we are" page

Figure 22 "Where we are" page with Locations menu (327_3)


1. Click New and choose Component Menu.
2. In the name field, enter Menu-Locations
3. In the Menu Element Query, choose Authoring Templates
4. Click on Select Authoring Template
5. Click Add
6. Choose Locations
7. Click Ok
8. Click on Select Site Area
9. Click Add
10. Choose Where we are Site Area
11. Click Ok
12. Expand Further Options
13. Select Current content
14. Add the following html to the header :

15. Insert the following html in the design for each menu result

16. Close the table using the following html in the footer


In the Separator, you can either reference an image which represents a line to separate the result or add a dotted line which could be changed later. To add an image not already created as an image component, do the following steps

17. Above the Seperator area, click on Insert an Image
18. Click on Browse and navigate to the image seperator_490.gif
19. Select the option Add image to library and grant all users access
20. Click Ok
21. Click Save and
22. Click on Component Image
23. You will find a new image component added with the file name seperator_490.gif
24. Repeat steps 1 through 21 to create the following Menu Components:

    Menu Name
    Authoring Template
    Site Area
    Menu-Products
    Products
    Set Current Content to true
    Menu-Careers

    Company/Careers with us
    Menu-Offers
    News
    News/Promotions
    Menu-Corporate Information
    News
    News/Corporate Information

    Note:
    For the menus Menu-Products and Menu-Offers, the design for each menu result would be as follows:






You can also create a menu for the related links.

expanded Article information
collapsed Article information
Category:
IBM Redbooks: Building a Web site using Lotus Web Content Management 6.1
Tags:
wcm

This Version: Version 7 June 23, 2010 5:00:49 PM by Craig Lordan  IBMer

expanded Attachments (0)
collapsed Attachments (0)

 


expanded Versions (3)
collapsed Versions (3)
Version Comparison     
Version Date Changed by               Summary of changes
This version (7) Jun 23, 2010 5:00:49 PM Craig Lordan  
6 Oct 21, 2009 6:02:47 PM Amanda J Bauman  
4 Oct 19, 2008 10:19:07 PM John Bergland  
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