Tribune

Home » Liferay Portal » English » 3. Development

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Raju oukanti
How to hide the parent page by showing the sub pages of it
30 dicembre 2012 4.36
Risposta

Raju oukanti

Punteggio: Regular Member

Messaggi: 123

Data di Iscrizione: 20 febbraio 2012

Messaggi recenti

Hi Guys,


How to hide the page of parent by showing its child pages in the navigation part. Please replay ASAp.

Thanks,
Raju Oukanti
Bart Simpson
RE: How to hide the parent page by showing the sub pages of it
30 dicembre 2012 5.46
Risposta

Bart Simpson

Punteggio: Liferay Master

Messaggi: 524

Data di Iscrizione: 29 agosto 2011

Messaggi recenti

Not sure if this fulfills your requirement, but as I know, navigation portlet has configuration to hide the parent.
Also checkout if these properties help:

 1    # Set the name of the display style which will be used by default.
 2    #
 3    navigation.display.style.default=relative-with-breadcrumb
 4
 5    #
 6    # Specify the options that will be provided to the user in the edit
 7    # configuration mode of the portlet.
 8    #
 9    navigation.display.style.options=relative-with-breadcrumb,from-level-2-with-title,from-level-1-with-title,from-level-1,from-level-1-to-all-sublevels,from-level-0
10
11    #
12    # Define each mode with 4 comma delimited strings that represent the form:
13    # headerType, rootLayoutType, rootLayoutLevel, includedLayouts, and
14    # nestedChildren.
15    #
16    navigation.display.style[relative-with-breadcrumb]=breadcrumb,relative,0,auto,true
17    navigation.display.style[from-level-2-with-title]=root-layout,absolute,2,auto,true
18    navigation.display.style[from-level-1-with-title]=root-layout,absolute,1,auto,true
19    navigation.display.style[from-level-1]=none,absolute,1,auto,true
20    navigation.display.style[from-level-1-to-all-sublevels]=none,absolute,1,all,true
21    navigation.display.style[from-level-0]=none,absolute,0,auto,true
Hiral Barot
RE: How to hide the parent page by showing the sub pages of it
30 dicembre 2012 20.58
Risposta

Hiral Barot

Punteggio: New Member

Messaggi: 17

Data di Iscrizione: 3 gennaio 2012

Messaggi recenti

Hi Raju,

You can achieve this by following steps :

1) Go to Navigation Portlet configuration
2) Select Desplay style --> From level 1

Hope this helps.

Regards,
Hiral Barot
Anil Sunkari
RE: How to hide the parent page by showing the sub pages of it
31 dicembre 2012 2.18
Risposta

Anil Sunkari

Punteggio: Expert

Messaggi: 412

Data di Iscrizione: 11 agosto 2009

Messaggi recenti

Hi Raju,
Not sure about specific property. If it really required to customize theme.You can simple check with the current layout id with parent layoutid hence..you can write rest of the logic to behave as per your requirement.

Regards,
Anil Sunkari
Raju oukanti
RE: How to hide the parent page by showing the sub pages of it
1 gennaio 2013 3.19
Risposta

Raju oukanti

Punteggio: Regular Member

Messaggi: 123

Data di Iscrizione: 20 febbraio 2012

Messaggi recenti

Hi Simpson,

Thanks a lot. I will try with your code

Regards,
Raju
Raju oukanti
RE: How to hide the parent page by showing the sub pages of it
1 gennaio 2013 3.19
Risposta

Raju oukanti

Punteggio: Regular Member

Messaggi: 123

Data di Iscrizione: 20 febbraio 2012

Messaggi recenti

Hi Anil,

Thanks a lot. I will try with your idea

Regards,
Raju