Fórumok

Can I disable/deactivate a page?

Matt Passmore, módosítva 9 év-val korábban

Can I disable/deactivate a page?

New Member Bejegyzések: 15 Csatlakozás dátuma: 2013.02.25. Legújabb bejegyzések
When I use the 'hide from navigation menu' option, my page is no longer displayed in the navigation. That's good.

However, the child page indicator (a down arrow in this case) beside my parent page still displays. So to the user, it looks like I can click to reveal the child page.

Is there a way to disable or deactivate a page, so it doesn't get picked up?


thanks,
Matt
thumbnail
Andew Jardine, módosítva 9 év-val korábban

RE: Can I disable/deactivate a page?

Liferay Legend Bejegyzések: 2416 Csatlakozás dátuma: 2010.12.22. Legújabb bejegyzések
Hey Matt,

Which version of Liferay are you using? which theme do you have applied? I just tried this on my side with a top level page of "Test" which was visible and two child pages (child 1 and child 2) which are hidden but I don' t see the navigation arrow you are describing. I am using 6.2 with the default theme applied.
Matt Passmore, módosítva 9 év-val korábban

RE: Can I disable/deactivate a page?

New Member Bejegyzések: 15 Csatlakozás dátuma: 2013.02.25. Legújabb bejegyzések
I'm running 6.2.

We're using a custom theme created by our vendor.

Matt
thumbnail
Andew Jardine, módosítva 9 év-val korábban

RE: Can I disable/deactivate a page?

Liferay Legend Bejegyzések: 2416 Csatlakozás dátuma: 2010.12.22. Legújabb bejegyzések
Ok -- in that case I would guess that the theme has "a bug in it". My guess is that their navigation.ftl/navigation.vm (not sure which templating language you are using) detects whether or not there are child pages -- and if there are shows the icon. The logic probably needs to be updated not just to check for child pages (which would return true, even if not visible) but that at least one of the child pages is also visible.

Can you check the theme source for logic like that?
Matt Passmore, módosítva 9 év-val korábban

RE: Can I disable/deactivate a page?

New Member Bejegyzések: 15 Csatlakozás dátuma: 2013.02.25. Legújabb bejegyzések
Given the track record of our vendor - a bug is a distinct possibility.

I don't have direct access to the source code, but will certainly raise this as a potential cause to be investigated.

Thanks for your input.
thumbnail
Andew Jardine, módosítva 9 év-val korábban

RE: Can I disable/deactivate a page?

Liferay Legend Bejegyzések: 2416 Csatlakozás dátuma: 2010.12.22. Legújabb bejegyzések
Hey Matt,

If you have access to the server, and can get into the webapps/<whatever_your_theme_is_called> -- you might be able to grab it yourself. Have a look in the docroot for a folder called templates. In there you will probably find one names navigation.vm or .ftl.