Problem displaying subfolders in 4.0

Author Message

Richard Lundberg

Sunday 27 January 2008 4:30:19 pm

Hi,

I am setting up a site using eZ Publish 4.0 with the eZflow extension.
I have created folders and checked the "display sub items" box, but when you view the folder, subfolders do not show. Articles seem to be OK.

Without a left menu to navigate down layers of a subtree, having folders display their children is the only way to navigate down through the layers.

Does anyone have any ideas?

www.peakm3.com

Łukasz Serwatka

Monday 28 January 2008 12:00:35 am

Hi Richard,

You can either enable left menu where folder should appear (it was designed to work with left menu, as folder appears there) or if that is not an option, then you will have to remove depth check in full/folder.tpl code in override folder.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Richard Lundberg

Monday 28 January 2008 12:53:25 am

Łukasz

thanks for the prompt response.

For reference for others I changed

            {if le( $node.depth, '3')}
                {set $classes=array( 'infobox', 'folder' )}
            {/if}

to

            {if le( $node.depth, '3')}
                {set $classes=array( 'infobox' )}
            {/if}

that seemed to do the trick and subfolders are now displayed.

www.peakm3.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.