Fórum

Navigation on theme for private as well public page

thumbnail
Manikantha Rajamani, modificado 6 Anos atrás.

Navigation on theme for private as well public page

Expert Postagens: 258 Data de Entrada: 25/03/14 Postagens Recentes
Hi team,

I have to show navigation of public page in theme
if user clicks on private pages also i need to show the navigation of public page in theme how we can do these
if any one have requirement like these please share how we can do.



Thanks and Regrads
Manikantha R
thumbnail
David H Nebinger, modificado 6 Anos atrás.

RE: Navigation on theme for private as well public page

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
It is not a concern of the theme, it has no control over what pages are presented.

The pages listed in the navigation are always scoped to the current site; you will never have the option to include pages from other sites.

My suggestion? Create a custom ADT for navigation on your private site and manually add the <li /> tags for the public pages. That will be the easiest, less invasive path.
thumbnail
Olaf Kock, modificado 6 Anos atrás.

RE: Navigation on theme for private as well public page

Liferay Legend Postagens: 6403 Data de Entrada: 23/09/08 Postagens Recentes
David H Nebinger:
you will never have the option to include pages from other sites.


Someone (TM) should get their act together and update their old trivial plugins to prove you wrong...
thumbnail
David H Nebinger, modificado 6 Anos atrás.

RE: Navigation on theme for private as well public page

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
Well, we'd rather keep certain people busy training or, when they can't do that, answering forum posts. emoticon
thumbnail
Stephen Kostas, modificado 6 Anos atrás.

RE: Navigation on theme for private as well public page

New Member Postagens: 20 Data de Entrada: 02/11/09 Postagens Recentes
Dave's answer is probably the best in most cases, but depending on your specific requirements, you could also create Private pages mirroring the Public Page structure, and set the page Type for each to Link to URL and then set each one as a link to the corresponding Public Page.

This can allow you to do some tricky things, like present Private Pages as subpages of Public pages in the Private Page navigation.