How to make new root folder?

Author Message

Daniele Nocentini

Thursday 25 May 2006 8:10:57 am

In the original installation of ezpublish I can view node_id=2 for root of the content structure menĂ¹ and the node_id=5 for the default user gruop, but how can I make new folder or user group outside of defult content structure or default user group node?

Antica Bottega Digitale srl
http://www.abd.it

Kristof Coomans

Friday 26 May 2006 12:08:50 am

Hi Daniele

As far as I know, this is currently not possible through the admin interface. Manually surfing to content/view/full/1 will show the full view of the content tree's root node. Maybe if you let your browser show hidden input fields (with a bookmarklet like http://www.squarefree.com/bookmarklets/forms.html#show_hiddens ) and you manually change the node and object values then you might accomplish it too.

You can also make a script to do this. Take update/common/scripts/updatetoplevel.php as an example.

Let us know which approach you took.

Good luck!

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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 20:54:27
Script start
Timing: Jan 18 2025 20:54:27
Module start 'layout'
Timing: Jan 18 2025 20:54:27
Module start 'content'
Timing: Jan 18 2025 20:54:28
Module end 'content'
Timing: Jan 18 2025 20:54:28
Script end

Main resources:

Total runtime1.1591 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 588.0313152.6406
Module start 'layout' 0.00780.0029 740.671939.4766
Module start 'content' 0.01071.1471 780.1484527.7813
Module end 'content' 1.15790.0012 1,307.92978.1484
Script end 1.1591  1,316.0781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.3158160.0002
Check MTime0.00140.1201160.0001
Mysql Total
Database connection0.00130.114410.0013
Mysqli_queries1.104495.2766540.0205
Looping result0.00060.0492520.0000
Template Total1.108695.620.5543
Template load0.00240.203220.0012
Template processing1.106395.439520.5531
Template load and register function0.00030.026010.0003
states
state_id_array0.00130.113810.0013
state_identifier_array0.00170.144920.0008
Override
Cache load0.00200.1688120.0002
Sytem overhead
Fetch class attribute can translate value0.00060.052320.0003
Fetch class attribute name0.00110.095140.0003
XML
Image XML parsing0.00290.254020.0015
class_abstraction
Instantiating content class attribute0.00000.000540.0000
General
dbfile0.00590.5110220.0003
String conversion0.00000.000840.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs