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

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 21:09:49
Script start
Timing: Jan 18 2025 21:09:49
Module start 'layout'
Timing: Jan 18 2025 21:09:49
Module start 'content'
Timing: Jan 18 2025 21:09:49
Module end 'content'
Timing: Jan 18 2025 21:09:49
Script end

Main resources:

Total runtime0.7287 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 587.9063152.6250
Module start 'layout' 0.00460.0024 740.531339.4453
Module start 'content' 0.00710.7202 779.9766630.0000
Module end 'content' 0.72730.0014 1,409.976612.1563
Script end 0.7287  1,422.1328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4532160.0002
Check MTime0.00130.1753160.0001
Mysql Total
Database connection0.00070.101710.0007
Mysqli_queries0.674692.5806640.0105
Looping result0.00070.0946620.0000
Template Total0.703096.520.3515
Template load0.00220.304120.0011
Template processing0.700896.168420.3504
Template load and register function0.00010.016010.0001
states
state_id_array0.00080.107410.0008
state_identifier_array0.00070.089620.0003
Override
Cache load0.00190.2617240.0001
Sytem overhead
Fetch class attribute can translate value0.00080.115340.0002
Fetch class attribute name0.00160.220970.0002
XML
Image XML parsing0.00250.348640.0006
class_abstraction
Instantiating content class attribute0.00000.001770.0000
General
dbfile0.00130.1834300.0000
String conversion0.00000.000940.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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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