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

Pascal Samuzeau samuzeau@oreka.com
Tue, 15 Jul 2003 14:34:17 +0100


Hi,                                                                   
                                                                      
Yes, I have defined a method. But nothing change or happened. I use of
CMF1.3.                                                               
                                                                      
Thanks                                                                
PS                                                                    
-------------------                                                   
> 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                                                              
>                                                                     
>                                                                     
>                                                                     
Cordialement                                                          
PS                                                                    
--------------------------------------------------                    
Oreka ! Nous sommes l'internet moins cher !                           
Surfez 25% moins cher avec http://www.oreka.com