Re: Left Navigation Menu

2005-04-19 Thread Santiago Urrizola
randy
Thank you very much, I could do everything almost what i want.


Santiago


> Santiago:
>
> >> > 2- How can i made tha second group only for non registered users ?
> >>
> >> Profile these for user "guest". Again see the J2 sample site... look
for
> >> content in the _user/guest folders.
> >
> > 2 - I dont have any prfile for guest user in the _user forlder. But have
a
> > question: its the same if i put a security constrait in the folder thant
> > containts all the pages  of the second group ?? putting security to only
> > guest user ??
>
> Yes, security constraints can be used filter a site by user. Profiling is
> more powerful in that you can setup different content for different users,
> roles, groups, etc. with the same page names/urls. I use Profiling to
> model course grain concepts and fine tune it with security if necessary.
> So, yes, the two techniques overlap for simpler tasks and are quite
> complementary.


>
> >> > 4- Under all this i want to put an image.
> >>
> >> You can insert arbitrary constant HTML in the layout decorator Velocity
> >> templates. See the /WEB-INF/decorations/layout/html/tigris/*.vm files.
> >> Custom decorators can be deployed in a manner similar to portlet
> >> webapps.
> > Ok, its posible to add an image or icon to a link, i see than name this
in
> > the documentation, but i dont know to do that ?
>
> The styles used for navigation elements are found in the *.css files in
> the decorator directories. Of course, you can extend the style sheets or
> you can simply hard code content in the template macros. I would suggest
> trying to use the style sheets if at all possible.
>
> Randy
>
>
>
> -
> 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]



Re: Left Navigation Menu

2005-04-19 Thread watler
Santiago:

>> > 2- How can i made tha second group only for non registered users ?
>>
>> Profile these for user "guest". Again see the J2 sample site... look for
>> content in the _user/guest folders.
>
> 2 - I dont have any prfile for guest user in the _user forlder. But have a
> question: its the same if i put a security constrait in the folder thant
> containts all the pages  of the second group ?? putting security to only
> guest user ??

Yes, security constraints can be used filter a site by user. Profiling is
more powerful in that you can setup different content for different users,
roles, groups, etc. with the same page names/urls. I use Profiling to
model course grain concepts and fine tune it with security if necessary.
So, yes, the two techniques overlap for simpler tasks and are quite
complementary.

>> > 4- Under all this i want to put an image.
>>
>> You can insert arbitrary constant HTML in the layout decorator Velocity
>> templates. See the /WEB-INF/decorations/layout/html/tigris/*.vm files.
>> Custom decorators can be deployed in a manner similar to portlet
>> webapps.
> Ok, its posible to add an image or icon to a link, i see than name this in
> the documentation, but i dont know to do that ?

The styles used for navigation elements are found in the *.css files in
the decorator directories. Of course, you can extend the style sheets or
you can simply hard code content in the template macros. I would suggest
trying to use the style sheets if at all possible.

Randy



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



Re: Left Navigation Menu

2005-04-19 Thread Santiago Urrizola
First,. Thank you very mutch


> Note: this question is for J2...
>
> > Hi, i want to change the left navigation menu.
> > and add two groups of links (to pages in the portal) , i want all the
> > users see the first groups and the second single group appears for the
non
> > registered  user.
> > hace a series of problems:
> > 1- The list of links apears in alfabetical order. How i change it ?

1 - Not alfabetical order, works perfect !!

>
> Most simple ordering issues can be resolved using document order tags in
> the folder.metadata files. See the J2 sample site for examples.
>
> > 2- How can i made tha second group only for non registered users ?
>
> Profile these for user "guest". Again see the J2 sample site... look for
> content in the _user/guest folders.

2 - I dont have any prfile for guest user in the _user forlder. But have a
question: its the same if i put a security constrait in the folder thant
containts all the pages  of the second group ?? putting security to only
guest user ??


>
> > 3 - Betewen this two groups i want to put a portlet. it is possible
>
> To actually insert a portlet in the navigation menu is not something that
> can be easily done AFAIK. I am guessing that if it is possible, it will
> require major customizations of the layout decorators, (see 4 below).
> Perhaps someone else here on the list has done such a thing?
>
> > 4- Under all this i want to put an image.

3- Ok no problem.

>
> You can insert arbitrary constant HTML in the layout decorator Velocity
> templates. See the /WEB-INF/decorations/layout/html/tigris/*.vm files.
> Custom decorators can be deployed in a manner similar to portlet webapps.
Ok, its posible to add an image or icon to a link, i see than name this in
the documentation, but i dont know to do that ?


>
> > The schema is like this
> >
> > Home
> >  News(this is a link to a page in the portal)
> > Restos(this is a link to a page in the portal)
> > Proves(this is a link to a page in the portal)
> >
> > /* here i want to put a portlet, a pool porlet* */
> > < pool portlet>
> >
> > Register(all of this for non registeres user)
> > Login(this is a link to a page in the portal
> > new User(this is a link to a page in the portal
> > Lost password (this is a link to a page in the portal
> > benefits(this is a link to a page in the portal
> >
> > Profile(this is onlyfor registerd users)
> > Personal Data
> > Preferences
> >
> >
> > /** here i want to put some image, as external links
> > i thinks its posible to put this in the layout ???
> > **/
> > 
> > 
> >
> > Thank you very mutch
>
>
>
> -
> 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]



Re: Left Navigation Menu

2005-04-19 Thread watler
Note: this question is for J2...

> Hi, i want to change the left navigation menu.
> and add two groups of links (to pages in the portal) , i want all the
> users see the first groups and the second single group appears for the non
> registered  user.
> hace a series of problems:
> 1- The list of links apears in alfabetical order. How i change it ?

Most simple ordering issues can be resolved using document order tags in
the folder.metadata files. See the J2 sample site for examples.

> 2- How can i made tha second group only for non registered users ?

Profile these for user "guest". Again see the J2 sample site... look for
content in the _user/guest folders.

> 3 - Betewen this two groups i want to put a portlet. it is possible

To actually insert a portlet in the navigation menu is not something that
can be easily done AFAIK. I am guessing that if it is possible, it will
require major customizations of the layout decorators, (see 4 below).
Perhaps someone else here on the list has done such a thing?

> 4- Under all this i want to put an image.

You can insert arbitrary constant HTML in the layout decorator Velocity
templates. See the /WEB-INF/decorations/layout/html/tigris/*.vm files.
Custom decorators can be deployed in a manner similar to portlet webapps.

> The schema is like this
>
> Home
>  News(this is a link to a page in the portal)
> Restos(this is a link to a page in the portal)
> Proves(this is a link to a page in the portal)
>
> /* here i want to put a portlet, a pool porlet* */
> < pool portlet>
>
> Register(all of this for non registeres user)
> Login(this is a link to a page in the portal
> new User(this is a link to a page in the portal
> Lost password (this is a link to a page in the portal
> benefits(this is a link to a page in the portal
>
> Profile(this is onlyfor registerd users)
> Personal Data
> Preferences
>
>
> /** here i want to put some image, as external links
> i thinks its posible to put this in the layout ???
> **/
> 
> 
>
> Thank you very mutch



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



Left Navigation Menu

2005-04-19 Thread Santiago Urrizola
Hi, i want to change the left navigation menu.
and add two groups of links (to pages in the portal) , i want all the users see 
the first groups and the second single group appears for the non registered  
user.
hace a series of problems:
1- The list of links apears in alfabetical order. How i change it ?
2- How can i made tha second group only for non registered users ?
3 - Betewen this two groups i want to put a portlet. it is possible
4- Under all this i want to put an image.
The schema is like this

Home
 News(this is a link to a page in the portal)
Restos(this is a link to a page in the portal)
Proves(this is a link to a page in the portal)

/* here i want to put a portlet, a pool porlet* */
< pool portlet>

Register(all of this for non registeres user)
Login(this is a link to a page in the portal
new User(this is a link to a page in the portal
Lost password (this is a link to a page in the portal
benefits(this is a link to a page in the portal

Profile(this is onlyfor registerd users)
Personal Data
Preferences


/** here i want to put some image, as external links
i thinks its posible to put this in the layout ???
**/



Thank you very mutch