custom folder

Author Message

Kristofer Pettersson

Thursday 09 February 2006 7:45:30 am

I just created a custom folder (checked the "is container" attribute). As a template I used the folder default template. This template contains the following code:

{section show=$node.object.can_create}^M
                <form action={"/content/action"|ezurl} method="post" name="create">^M
                        <input type="hidden" name="NodeID" value="{$node.node_id}" />^M
                                <select name="ClassID" class="perspectives">^M
                        {section name=Classes loop=$node.object.can_create_class_list}^M
                                <option value="{$:item.id}">{$:item.name|wash}</option>^M
                        {/section}^M
                                </select>^M
                        <input type="hidden" name="NewButton" value="" />^M
 {/section}

Obviously my custom folder does not have the attribute can_create and thus I can't get a list of options which allow me to create new content in this folder. Where do I configure these attributes for custom (or even default) folders?

Regards,
Kristofer

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