1 Reply Latest reply on Jun 3, 2013 4:06 AM by rutlucas

    Add one more item in toolbar without gui

    anishantony

      Hi all

      I need to add/edit items in gatein toolbar without using gui what i need to do or which xml file i need to change

       

      regards

       

      Anish Antony

        • 1. Re: Add one more item in toolbar without gui
          rutlucas

          Hi Anish,

           

          In the path:

           

          GATEIN/gatein/gatein.ear/portal.war/WEB-INF/conf/portal/portal/classic/

           

          you can find navigation.xml, pages.xml and portal.xml where you can modify the default portal pages navigation as a template, adding your own pages.

           

          This could be the most easy way to modify pages in the portal via XML.

           

          A most powerful way it can be to create an extension of the portal adding new sites and new pages (for example, the mobile site is designed as an extension), you can find details under the following path:

           

          GATEIN/gatein/extensions/gatein-mobile-integration.ear/gatein-mobile-configuration.war/WEB-INF/conf/portal

           

          An extensions is a concept of a package container with your own portal configuration plus skins plus your own portlets, so you can take a look into the mobile one for more details.

           

          A good point to start investigating with extensions can be GateIn quickstarts in the following link:

           

          https://github.com/gatein/gatein-portal-quickstart

           

          Hope this helps.

           

          Regads,

          Lucas