Forums / General / How to create a new folder root?

How to create a new folder root?

Author Message

Daniele Nocentini

Friday 06 April 2007 3:58:16 am

There is a way to create a folder class object at the same level of ezpublish folder, media, user, shop, ecc..?

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

Piotrek Karaƛ

Tuesday 10 April 2007 6:48:08 am

Just few days ago our 'beginner tester' friend somehow managed do mess up or even add nodes at the very level. Unfortunately, he didn't memorize any details, so now we're also keen to find that out ;)
By the way, our installation of eZ publish 3.8.7 stopped showing structure where it should be. We found it in the trash, instead :))

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Bartek Modzelewski

Tuesday 10 April 2007 9:41:33 am

This is very easy with Web Developer plugin for FireFox:

- Login to admin interface
- From WebDeveloper toolbar select Forms->Display form details
- Go to panel where you normaly create new subnode, find highlighted <input name="NodeID">
- replace existing value by 1
- Select your desired content class, for example "Folder"
- Click to create here
- Enjoy

There is one problem only: url_alias will not have proper name, but probably you can edit it directly in database in some tables.

If you don't have FireFox with Web Developer you can just create simple extension with form, and just put "1" as value of NodeID (parent node).

One more thing: I can't guarantee that new node on this level will work without any problems, so I don't recommend you using it :)

Baobaz
http://www.baobaz.com

Heath

Tuesday 10 April 2007 2:57:02 pm

Here is the link to the 'Web Developer browser addon for Firefox', This adds a menu and a toolbar with various web developer tools. <i>https://addons.mozilla.org/en-US/firefox/addon/60</i>

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

eZ debug

Timing: Jan 18 2025 18:32:36
Script start
Timing: Jan 18 2025 18:32:36
Module start 'content'
Timing: Jan 18 2025 18:32:37
Module end 'content'
Timing: Jan 18 2025 18:32:37
Script end

Main resources:

Total runtime1.1000 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 588.8359180.8438
Module start 'content' 0.00711.0872 769.6797635.0781
Module end 'content' 1.09430.0057 1,404.757846.1016
Script end 1.1000  1,450.8594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2821140.0002
Check MTime0.00140.1231140.0001
Mysql Total
Database connection0.00120.105210.0012
Mysqli_queries1.053595.7678650.0162
Looping result0.00060.0544630.0000
Template Total1.060196.420.5301
Template load0.00230.205220.0011
Template processing1.057996.166120.5289
Template load and register function0.00010.008710.0001
states
state_id_array0.00090.083610.0009
state_identifier_array0.00130.115720.0006
Override
Cache load0.00190.1739240.0001
Sytem overhead
Fetch class attribute can translate value0.00060.055240.0002
Fetch class attribute name0.00100.092970.0001
XML
Image XML parsing0.00160.142940.0004
class_abstraction
Instantiating content class attribute0.00000.001070.0000
General
dbfile0.00130.1189320.0000
String conversion0.00000.000630.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs