Forums de discussion

Can I disable/deactivate a page?

Matt Passmore, modifié il y a 9 années.

Can I disable/deactivate a page?

New Member Publications: 15 Date d'inscription: 25/02/13 Publications récentes
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, modifié il y a 9 années.

RE: Can I disable/deactivate a page?

Liferay Legend Publications: 2416 Date d'inscription: 22/12/10 Publications récentes
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, modifié il y a 9 années.

RE: Can I disable/deactivate a page?

New Member Publications: 15 Date d'inscription: 25/02/13 Publications récentes
I'm running 6.2.

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

Matt
thumbnail
Andew Jardine, modifié il y a 9 années.

RE: Can I disable/deactivate a page?

Liferay Legend Publications: 2416 Date d'inscription: 22/12/10 Publications récentes
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, modifié il y a 9 années.

RE: Can I disable/deactivate a page?

New Member Publications: 15 Date d'inscription: 25/02/13 Publications récentes
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, modifié il y a 9 années.

RE: Can I disable/deactivate a page?

Liferay Legend Publications: 2416 Date d'inscription: 22/12/10 Publications récentes
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.