5 Replies Latest reply on May 22, 2007 1:55 AM by Melissa Papanikolas

    Change in page layout

    Herman Reintke Newbie

      LS,

      What I would need is a page layout with two identical (50-50%) columns (the default/generic one is a 30-70% column layout).

      I looked into the docs but the information is rather confusing (for me at least). What would be the easiest way to go :

      1/ update the default/generic layout ?
      What files do I need to change for this

      2/ Create/use another layout
      Are there any others than the ones in the download ? Where would I find them ?

      Kind regards,

      Herman Reintke

        • 1. Re: Change in page layout
          françois LEFEVRE Newbie

          Hi

          THEMES

          Edit portal-themes.xml (\server\default\deploy\jboss-portal.sar\portal-core.war\WEB-INF).

          Example : adding the theme 'test' (copy paste this)

          Test




          Themes are stored here :
          \server\default\deploy\jboss-portal.sar\portal-core.war\themes

          LAYOUTS

          Edit portal-layouts.xml (\server\default\deploy\jboss-portal.sar\portal-core.war\WEB-INF).

          Example : adding the layout 'test' (copy paste this)

          Test
          /layouts/test/index.jsp
          /layouts/test/maximized.jsp








          layouts are stored here :
          \server\default\deploy\jboss-portal.sar\portal-core.war\layouts

          regards

          • 2. Re: Change in page layout
            françois LEFEVRE Newbie

            I forgot code flags.. ;)

            THEMES

            Edit portal-themes.xml (\server\default\deploy\jboss-portal.sar\portal-core.war\WEB-INF).

            Example : adding the theme 'test' (copy paste this)

            <theme>
             <name>Test</name>
             <link rel="stylesheet" id="main_css" href="/themes/test/portal_style.css" type="text/css" />
             <link rel="shortcut icon" href="/themes/test/images/favicon.ico" />
             </theme>
            


            Themes are stored here :
            \server\default\deploy\jboss-portal.sar\portal-core.war\themes



            LAYOUTS

            Edit portal-layouts.xml (\server\default\deploy\jboss-portal.sar\portal-core.war\WEB-INF).

            Example : adding the layout 'test' (copy paste this)

            <layout>
             <name>Test</name>
             <uri>/layouts/test/index.jsp</uri>
             <uri state="maximized">/layouts/test/maximized.jsp</uri>
             <regions>
             <region name="left"/>
             <region name="center"/>
             <region name="navigation"/>
             <region name="right"/>
             </regions>
             </layout>


            layouts are stored here :
            \server\default\deploy\jboss-portal.sar\portal-core.war\layouts

            regards

            • 3. Re: Change in page layout
              Thomas Heute Master

              Edit or add a CSS theme

              • 4. Re: Change in page layout
                Thomas Heute Master

                I mean for the default layout :) If you use your own layout in depends how you do.

                • 5. Re: Change in page layout
                  Melissa Papanikolas Newbie

                  in the previous version of jboss i could easily add new themes and go between them.

                  in version 6.2 i cant seem to work out how i bring in new themes. i have attempted to upload files one by one, to export everything across to the .war file... but to no avail.

                  how do i bring in themes already created in css/html?

                  cheers