2 Replies Latest reply on Oct 24, 2006 8:19 PM by Antoine Herzog

    static and dynamic pages

    Penkov Vladimir Newbie

      I wonder - how to implement menu, which items links to pages with static resources as well as to resources with dynamic portlets&

      example menu:

      - about us -> links to page with the same menu to the left, and static text in the center
      - products -> links to page with the same menu to the left, and static text in the center
      - advanced search -> links to page with the same menu to the left, and search portlet in the center
      - and so on

      Is this a good approach to define several portal pages and declare CMS instance with some start page for each static resource?

        • 2. Re: static and dynamic pages
          Antoine Herzog Master

          you don't need to build a new page for each content.

          you define new pages only if you want to have different portlets shown (or change the position of windows in the page, etc...).
          if you change the "structure" of the page.

          to have the same "kind/structure" of page, but with different content in the portlets (such as CMS portlet, or other portlets for dynamic content), you should use the same page, but passing a parameter to the portlet so it show the content requiered.

          the CMS portlet is working this way : you can define the path of the file from the repository in the url.
          the prefix in the url is "content" : /content/your/path/in/repository/file.html
          see the reference guide for explaination of that.

          the other portlet should work the same way.

          in your menu, you put the url that say : "tell to the cms portlet to show this html file".