[Zope] Adding ZClass to a folder

Tim Cook twcook@iswt.com
Wed, 27 Sep 2000 08:28:18 -0500


brocken22@gmx.de wrote:
> How do you add a ZCLass to a subfolder.
> That's my try:
> ->>   <dtml- with "SubFolderName.manage_addProduct['MetaTypeName']">
>              <dtml-call "ZClass_add(_.None, _, NoRedir=1)">
> 
>       </dtml-with>
> 
> --

Close. Try this.

<dtml-with SubFolder>
   <dtml- with "ProductName.manage_addProduct['MetaTypeName']">
        <dtml-call "ZClass_add(_.None, _, NoRedir=1)">
    </dtml-with>
</dtmlwith SubFolder>


-- Tim Cook --
Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT
* It's easy to stop making mistakes. Just stop having ideas.  *
FreePM Project Coordinator http://www.freepm.org
OSHCA Founding Supporter http://www.oshca.org