Foros de discusión

How to hide the parent page by showing the sub pages of it

thumbnail
Raju oukanti, modificado hace 11 años.

How to hide the parent page by showing the sub pages of it

Regular Member Mensajes: 143 Fecha de incorporación: 21/02/12 Mensajes recientes
Hi Guys,


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

Thanks,
Raju Oukanti
thumbnail
Bart Simpson, modificado hace 11 años.

RE: How to hide the parent page by showing the sub pages of it

Liferay Master Mensajes: 522 Fecha de incorporación: 29/08/11 Mensajes recientes
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:

    # Set the name of the display style which will be used by default.
    #
    navigation.display.style.default=relative-with-breadcrumb

    #
    # Specify the options that will be provided to the user in the edit
    # configuration mode of the portlet.
    #
    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

    #
    # Define each mode with 4 comma delimited strings that represent the form:
    # headerType, rootLayoutType, rootLayoutLevel, includedLayouts, and
    # nestedChildren.
    #
    navigation.display.style[relative-with-breadcrumb]=breadcrumb,relative,0,auto,true
    navigation.display.style[from-level-2-with-title]=root-layout,absolute,2,auto,true
    navigation.display.style[from-level-1-with-title]=root-layout,absolute,1,auto,true
    navigation.display.style[from-level-1]=none,absolute,1,auto,true
    navigation.display.style[from-level-1-to-all-sublevels]=none,absolute,1,all,true
    navigation.display.style[from-level-0]=none,absolute,0,auto,true
thumbnail
Raju oukanti, modificado hace 11 años.

RE: How to hide the parent page by showing the sub pages of it

Regular Member Mensajes: 143 Fecha de incorporación: 21/02/12 Mensajes recientes
Hi Simpson,

Thanks a lot. I will try with your code

Regards,
Raju
Hiral Barot, modificado hace 11 años.

RE: How to hide the parent page by showing the sub pages of it

New Member Mensajes: 17 Fecha de incorporación: 3/01/12 Mensajes recientes
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
thumbnail
Anil Sunkari, modificado hace 11 años.

RE: How to hide the parent page by showing the sub pages of it

Expert Mensajes: 427 Fecha de incorporación: 12/08/09 Mensajes recientes
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
thumbnail
Raju oukanti, modificado hace 11 años.

RE: How to hide the parent page by showing the sub pages of it

Regular Member Mensajes: 143 Fecha de incorporación: 21/02/12 Mensajes recientes
Hi Anil,

Thanks a lot. I will try with your idea

Regards,
Raju