Forums / Setup & design / Content Tree Structure-like in actual view page

Content Tree Structure-like in actual view page

Author Message

Z W

Sunday 14 March 2010 12:10:45 am

Hi

Is there an article/tutorial that shows how EZ Publish could help to produce content tree structure navigation drop down menu on the left column like we see on the admin interface where the content tree drop down menu after clicking the + sign is shown.

I need to create web pages where each web page belongs to a user. Each user would have a different content tree drop down menu.

Any help is appreciated on how to accomplish that ?

Bertrand Dunogier

Sunday 14 March 2010 4:08:43 am

I haven't really seen an article explaining exactly that process, but here are a couple suggestions you could use:

Now if you can come up with an extension that could be re-used, it would be an awesome contribution ;)

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Z W

Monday 15 March 2010 12:54:34 pm

Bertrand

Thanks for responding.

I'm still very new to ezp and am evaluating if ezp has huge learning curve for me to implement my project.

I'm new to php, ajax, unfortunately and there's no one at my office who could help me with this.

Would tree menu help in solving my problem above. I saw that in

http://ez.no/doc/ez_publish/technical_manual/4_x/reference/template_operators/miscellaneous/treemenu ?

I saw your links and "http://www.ezcomponents.org/docs/tutorials/Tree. Specifically check out the visualization part at the end" and its a horizontal drop down menu. I'm looking for tree view drop down menu like what the admin content structure on the left column looks like.

eZ debug

Timing: Jan 18 2025 10:31:03
Script start
Timing: Jan 18 2025 10:31:03
Module start 'content'
Timing: Jan 18 2025 10:31:04
Module end 'content'
Timing: Jan 18 2025 10:31:04
Script end

Main resources:

Total runtime1.3315 sec
Peak memory usage4,096.0000 KB
Database Queries196

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 588.9766180.8125
Module start 'content' 0.00621.1510 769.7891545.4141
Module end 'content' 1.15730.1742 1,315.2031333.0547
Script end 1.3314  1,648.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.3114210.0002
Check MTime0.00150.1146210.0001
Mysql Total
Database connection0.00080.058610.0008
Mysqli_queries1.251393.97331960.0064
Looping result0.00230.17201940.0000
Template Total1.298397.520.6492
Template load0.00220.168120.0011
Template processing1.296197.340720.6480
Template load and register function0.00110.085610.0011
states
state_id_array0.00210.158510.0021
state_identifier_array0.00180.133120.0009
Override
Cache load0.00190.1414250.0001
Sytem overhead
Fetch class attribute can translate value0.00150.114330.0005
Fetch class attribute name0.00110.085640.0003
XML
Image XML parsing0.00090.068930.0003
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00480.3596270.0002
String conversion0.00000.000530.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/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
3content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
2content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs