Forums / Setup & design / ezFlow Frontpage as a Folder

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