Forums / Setup & design / View hidden directoryes

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

eZ debug

Timing: Jan 17 2025 23:55:58
Script start
Timing: Jan 17 2025 23:55:58
Module start 'content'
Timing: Jan 17 2025 23:55:59
Module end 'content'
Timing: Jan 17 2025 23:55:59
Script end

Main resources:

Total runtime1.2602 sec
Peak memory usage4,096.0000 KB
Database Queries197

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 588.8359180.8438
Module start 'content' 0.00651.0958 769.6797544.8203
Module end 'content' 1.10240.1578 1,314.5000332.7578
Script end 1.2601  1,647.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.3140210.0002
Check MTime0.00150.1175210.0001
Mysql Total
Database connection0.00100.081010.0010
Mysqli_queries1.186394.12981970.0060
Looping result0.00220.17711950.0000
Template Total1.231597.720.6158
Template load0.00230.185220.0012
Template processing1.229297.537120.6146
Template load and register function0.00020.014110.0002
states
state_id_array0.00100.076210.0010
state_identifier_array0.00070.057720.0004
Override
Cache load0.00180.1435210.0001
Sytem overhead
Fetch class attribute can translate value0.00150.118830.0005
Fetch class attribute name0.00130.100550.0003
XML
Image XML parsing0.00110.086230.0004
class_abstraction
Instantiating content class attribute0.00000.000750.0000
General
dbfile0.00500.3930270.0002
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs