You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Jennifer Yip <je...@hotmail.com> on 2004/08/15 17:58:20 UTC

Navigation and Cocoon Portal

Hi guys,

Quick question as I struggle through work on a Sunday afternoon.

I have spent a week or two now looking at Cocoon and the new portal block - 
loving it to death - you guys are doing a great job.

ok quick question for newbie (but learning quick)

I am trying to work out how to be able to add a tab containing a portlet to 
a users config dynamically - ie I have a popup tree of things and when 
selected each thing should be displayed in a coplet window - ie

popup contains - Sheep, Cow, Dog
User selects and this somehow make a new tab appear in portal with a mapped 
Coplet..

is that possible?

or do I modify the pipeline that supplies the initial layout to be dynamic 
and somehow do it that way?

   <layout-user-load uri="cocoon:raw:/load-user-profile?profile=layout"/>

kind regards
Jenny

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger


Re: Navigation and Cocoon Portal

Posted by Philippe Guillard <pg...@soociety.com>.
Hi,

I suggest you adapt the portal stylsheets with a dynamic parameter
passed from sitemap and then show or not show your extra tab. (In
/portal/skins/common/styles/tab.xsl or
/portal/skins/common/styles/linktab.xl)

Phil

On Sun, 2004-08-15 at 23:58, Jennifer Yip wrote:
> Hi guys,
> 
> Quick question as I struggle through work on a Sunday afternoon.
> 
> I have spent a week or two now looking at Cocoon and the new portal block - 
> loving it to death - you guys are doing a great job.
> 
> ok quick question for newbie (but learning quick)
> 
> I am trying to work out how to be able to add a tab containing a portlet to 
> a users config dynamically - ie I have a popup tree of things and when 
> selected each thing should be displayed in a coplet window - ie
> 
> popup contains - Sheep, Cow, Dog
> User selects and this somehow make a new tab appear in portal with a mapped 
> Coplet..
> 
> is that possible?
> 
> or do I modify the pipeline that supplies the initial layout to be dynamic 
> and somehow do it that way?
> 
>    <layout-user-load uri="cocoon:raw:/load-user-profile?profile=layout"/>
> 
> kind regards
> Jenny
> 
> _________________________________________________________________
> It's fast, it's easy and it's free. Get MSN Messenger today! 
> http://www.msn.co.uk/messenger
> 
>