[jboss-user] [JBoss Portal] - Re: Change in page layout

franco12 do-not-reply at jboss.com
Mon May 14 08:00:31 EDT 2007


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045417#4045417

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045417



More information about the jboss-user mailing list