robej wrote:
>

[..]

> 
> 
> It is working but...I have 2 questions:
> 1. Is there a programmatic way for me to change one of the folders I created
> above (graphics) to use the atct_album_view instead of folder_view?
> 
> 2. If I create a document inside a created folder, can I make that Page
> become the view for the folder?
> 

Under the hood those settings are stored in Zope properties (see
PropertyManager api for programmatic manipulations) on the folder.

The view template in a string property called 'layout' and
a content item to show would have its id stored in
'default-page'.

You can actually "watch" in ZMI (properties tab of the folder)
the consequences of making changes in the UI if you want.

HTH

        Raphael

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to