-----Original Message-----
From: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 02, 2006 10:51 PM
To: Jetspeed Users List
Subject: Re: Questions about layouts & layout.vm

aordin wrote:
> Hi list!
> 
> Today I'm fighting with layout.vm into path 
> /src/webapp/WEB-INF/templates/layout/html/columns/
> 
> I see layout.vm put edition menus into the page for modify Theme, 
> Layout(two,three columns...) and add new page. And edition menu in 
> portlets.
> 
> 
>    1).- I'm searching one "guide" (or something like this) for
customize 
> the layouts and layout.vm to your own necessity. But I think it's very

> difficult to find it.

There is a guide:

http://portals.apache.org/jetspeed-2/guides/guide-layouts.html
[Bhardwaj, Ashutosh] 
Not a very good one.

> 
>          The most important things to me:
> 
>            - How can I change one layout (or create another new)? My 
> goal is change the layout for put for exemple one left(or right) 
> navigation menu into one banner posted in all pages.  I try to use the

> layout "Two columns with a small left column for navigation controls 
> using velocity" but it doesn't work
>            - know how works the "coords" for change the page.
> 
> To conclude: I would like to take complete control about layouts, how 
> create, modify and show your own layouts into "editing page"(and
delete 
> defaults if it's necessary)
> 
Layouts are all deployed in the jetspeed-layouts.war file as a local 
portlet application (stored within the jetspeed portlet application)
Layouts are implemented as portlets
To delete any of the layouts provided with jetspeed, simply remove the 
portlet entries in the portlet.xml

To take 'complete control', would suggest either

1) extend the existing layout portlets to what you need
2) if (1) isn't necessary, simply extend the vm files or write your own 
vm files for layout

Layouts should control the positioning and size of your columns
Decorators are used to 'skin' the content, not layouts
[Bhardwaj, Ashutosh] 
<defaults
     skin="blue"
     layout-decorator="tigris"
     portlet-decorator="tigris"
  />
What is the purpose of a layout-decorator?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to