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.

eZ debug

Timing: Jan 18 2025 03:05:21
Script start
Timing: Jan 18 2025 03:05:21
Module start 'layout'
Timing: Jan 18 2025 03:05:21
Module start 'content'
Timing: Jan 18 2025 03:05:22
Module end 'content'
Timing: Jan 18 2025 03:05:22
Script end

Main resources:

Total runtime0.7470 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.0234152.6250
Module start 'layout' 0.00540.0033 741.648439.4453
Module start 'content' 0.00870.7368 781.0938539.7422
Module end 'content' 0.74550.0015 1,320.835912.1719
Script end 0.7469  1,333.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4348160.0002
Check MTime0.00130.1797160.0001
Mysql Total
Database connection0.00080.104610.0008
Mysqli_queries0.698793.5323600.0116
Looping result0.00050.0645580.0000
Template Total0.713895.620.3569
Template load0.00200.264220.0010
Template processing0.711895.292620.3559
Template load and register function0.00010.019610.0001
states
state_id_array0.00120.158210.0012
state_identifier_array0.00180.234520.0009
Override
Cache load0.00160.2170210.0001
Sytem overhead
Fetch class attribute can translate value0.00060.081820.0003
Fetch class attribute name0.00100.139050.0002
XML
Image XML parsing0.00060.074920.0003
class_abstraction
Instantiating content class attribute0.00000.001550.0000
General
dbfile0.00100.1325160.0001
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs