[Zope-CMF] Re: Product, view's Tab and SkinnedFolder

Yuppie schubbe@web.de
Tue, 15 Jul 2003 14:22:51 +0200


Hi!


Pascal Samuzeau wrote:
> Is there any way to do with the SkinnedFolder wher my product Prod is 
> belong to?                                                            

SkinnedFolder has index_html = None, so you need to define a method in 
action of your 'view' action.
Using a CMF HEAD checkout, you also could define a '(Default)' alias.

This works different in CMF 1.3, CMF 1.4 and CMF HEAD. Which version do 
you use?


> ********************************************************************* 
>                                                                       
> Here is my Factory Type Information:                                  
> ------------------------------------                                  
>                                                                       
> factory_type_information = ( { 'id'             : 'Prod'              
[...]
>                              , 'actions'        :                     
>                                 ( { 'id'            : 'view'          
>                                   , 'name'          : 'View'          
>                                   , 'action'        : ''              

Here is 'action' an empty string. Look at SkinnedFolder.py of your CMF 
version to see what you need.

>                                   , 'permissions'   : (View,)         
>                                   , 'category'      : 'folder'        
>                                   }                                   

HTH,

Yuppie