ezFlow Frontpage as a Folder

Author Message

Sergi A

Thursday 14 January 2010 1:38:03 am

Hi!

i'm a bit newbie on ezPublish... i installed it with ezFlow and trying to create a site... i've seen some examples where the "home" page was a Folder node, and the menu items where under it on the nodetree... but with ezFlow, I have a FrontPage Node for the "home" page...

now, when I create folders on the frontpage, that should be the different main menu items, these folders are not created under the Frontpage node. I only have one node on the nodetree view on the Administrator Interface (although i can see the subelements created).

I thought that treating the frontpage as a folder, on webdav.ini, should work but it doesn't...

any idea please?

Thanks,

Sergi.

Gaetano Giunta

Friday 15 January 2010 1:54:26 am

If you create child nodes of the homepage, they should appear correctly in the node tree, regardless of the fact that the homepage is of type 'folder' or 'frontpage'.

In fact every content class in eZP can be a 'container' - meaning that it can have children. The setting that regulates this is found in the setup/classes page, in the class definition: it is the "Container" property.

If you want a folder object instead of a frontopage, it is a bit tricky: you have to create a folder item as child of the frontpage, then click on the frontpage icon in the content-tree-menu, and from the contextual menu choose 'swap with another node'.

The webdav.ini file only regulates which nodes appear as folders when accessed via webdav - it does not impact usage of the administration interface or of the ezwebin tollbar.

Last but not least, the fact that the folder items that are children of the root node appear as menu items in the frontend interface is decided by the template used for the pagelayout. You can change this behavior if you want

Principal Consultant International Business
Member of the Community Project Board

Sergi A

Friday 15 January 2010 3:44:30 am

Thanks for the answer, Gaetano... i don't know exactly what do I get by changing the frontpage node to a folder node... what differences would I find? As for the creation of child nodes, I haven't find the solution yet. The frontpage is a container, actually i didn't change any thing regarding classes of the default installation.

But when I create a node in the administrator interface (using the menu over the node -> create here) it appears as a Sub Element but the tree is still one unique node, the frontpage with no children. Is the same subelement and children? I can access them via templates, but I would like to see the treenode on the adm interface :(

Gaetano Giunta

Friday 15 January 2010 6:32:01 am

Changing the frontpage to a folder will not get you much of a benefit - you will in fact loose all the functionality of the frontpage. But it might be needed if you want to use a custom class for it, and often people are lost searching for how to do the swap.

As for your problem, it looks more like a configuration/cache/rewrite rules problem in the diplay of the treemenu. Try if clearing all caches in eZPublish then reloading the page with ctrl+F5 makes your nodes appear...

Principal Consultant International Business
Member of the Community Project Board

Sergi A

Friday 15 January 2010 7:55:39 am

No, it's not a problem of cache, i run the script ezcache but the tree doesnt appear.. i thought about language issue, because the frontpage node language is English whereas the folder are created in another language... but I created an English folder (actually it may have no meaning, language of a folder??).. but the tree is still one node.

It is very strange to me..

Romeo Antony

Monday 24 May 2010 12:17:52 am

Can u help m e , I want to create welcome page with frontpage class which contian 3 column layout.Can you tell me how to change folder class to front page in welcome page.by default it is ezpublish default folder in welcome page.please guide me

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 05:00:19
Script start
Timing: Jan 18 2025 05:00:19
Module start 'layout'
Timing: Jan 18 2025 05:00:19
Module start 'content'
Timing: Jan 18 2025 05:00:20
Module end 'content'
Timing: Jan 18 2025 05:00:20
Script end

Main resources:

Total runtime0.7644 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0155 589.0469152.6250
Module start 'layout' 0.01550.0036 741.671939.4453
Module start 'content' 0.01910.7437 781.1172611.6797
Module end 'content' 0.76280.0016 1,392.796916.4766
Script end 0.7644  1,409.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.5067160.0002
Check MTime0.00150.2018160.0001
Mysql Total
Database connection0.00120.159210.0012
Mysqli_queries0.687389.9132680.0101
Looping result0.00060.0828660.0000
Template Total0.715993.620.3579
Template load0.00270.351820.0013
Template processing0.713293.291020.3566
Template load and register function0.00020.028710.0002
states
state_id_array0.00110.138510.0011
state_identifier_array0.00120.162820.0006
Override
Cache load0.00230.3068300.0001
Sytem overhead
Fetch class attribute can translate value0.00080.105430.0003
Fetch class attribute name0.00130.174580.0002
XML
Image XML parsing0.00120.156130.0004
class_abstraction
Instantiating content class attribute0.00000.006190.0000
General
dbfile0.00190.2515220.0001
String conversion0.00000.001540.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs