This content has been marked as final.
Show 3 replies
-
1. Re: Show multiple region(left,center,right)
davinchi Feb 7, 2006 12:28 AM (in response to tok)Hi ,
The key to different regions is in the layout
For eg : in the helloworld portal look at these lines<name>layout.id</name> <value>generic</value>
Thus the theme is Nphalanx
Now look of the location of Nphalanx theme in portal-layout.xml<layout> <name>generic</name> <uri>/layouts/generic/index.jsp</uri> <uri state="maximized">/layouts/generic/maximized.jsp</uri> <regions> <region name="left"/> <region name="center"/> <region name="navigation"/> </regions> </layout>
Look for the file index.jsp
here you will find the regio definitions<div id="content-container"> <!-- insert the content of the 'left' region of the page, and assign the css selector id 'regionA' --> <p:region regionName='left' regionID='regionA'/> <!-- insert the content of the 'center' region of the page, and assign the css selector id 'regionB' --> <p:region regionName='center' regionID='regionB'/> <hr class="cleaner"/>
Cheers!
Dvinci -
2. Re: Show multiple region(left,center,right)
mholzner Feb 9, 2006 11:24 AM (in response to tok)almost right ;)
Please don't confuse the Layout with the Theme. They are two very different things.
The Layout is the one that lays out the general page and determines the portlets, and the regions they are in.
The theme styles the rendered content using css.
Layouts are described in portal-layouts.xml , and point to JSPs or Servlets
Themes are descibed in portal-themes.xml and point to css and js filles -
3. Re: Show multiple region(left,center,right)
noicangi Feb 14, 2006 8:48 AM (in response to tok)thanks martin for clearing things