Related objects: displaying a tree or list

Author Message

Bruce Morrison

Wednesday 08 January 2003 10:36:39 pm

In an XML edit item (e.g. article body) you can embed or link to existing objects dependant on the view attribute of the object tag.

This works for all types of object including folders. However with folders it will only display the selected folder.

Is it (or willl it be) possible to display the selected folder and it's children (tree) etc.

This feature would be very handy.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Bård Farstad

Wednesday 15 January 2003 1:39:38 am

> In an XML edit item (e.g. article body) you can embed or
> link to existing objects dependant on the view attribute of
> the object tag.
>
> This works for all types of object including folders.
> However with folders it will only display the selected
> folder.
>
> Is it (or willl it be) possible to display the selected
> folder and it's children (tree) etc.
>
> This feature would be very handy.
You can easily make folders list n number of children. All you need to do is to create a custom template for folder classes.

Have a look in the folder:
/design/standard/override/templates/content/view/

embed_class_5.tpl is the custom template for the image class. You need to create an override template for the folder class ( 1? ) embed_class_1.tpl and just make the template do whatever you like.

--bård

Documentation: http://ez.no/doc

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