View hidden directoryes

Author Message

Jorge estévez

Friday 05 February 2010 7:29:32 am

Hi

I need admin users to see hidden directoryes at the public site, as they are always entering data and have the need to see how it shows up at the site.

At the same time public visitors should keep the standard view as always.

Is this possible? How?

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Gaetano Giunta

Friday 05 February 2010 10:49:21 am

Is the preview functionality not enough for that?

Otherwise you can do it via a new object state and changing access permissions...

Principal Consultant International Business
Member of the Community Project Board

Jorge estévez

Friday 05 February 2010 11:33:37 am

Thanks, It should be enough but the main admin of the site (my client) would like to navigate the site to see how things are going while some employees are populating the information, so he prefers to have everything visible (only for him).

I did not get your anwser clear enough, let say have a bunch of directoryes (a tree) and when someone goes into those directoryes I make fetches to display it's children, and so on....

As fetch() will only get the unhidden nodes, how can I bypass that issue (I could check first if the admin is logged in and then fecth them all including the hidden ones, else do a standard fecth)

I cannot figure this out, if you could please explain in detail...

Your help will be welcome indeed, thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Jorge estévez

Friday 05 February 2010 11:39:00 am

I think I got it

Use fetch with "ignore_visibility"

Thanks again!

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.