[Zope3-Users] standart views

Garanin Michael garanin at m-lan.ru
Sun Feb 19 03:02:03 EST 2006


For example i want insert yours "tfws_i18ninfo" into 'IRight'-slot of my
site ==> i must overwrite yours 'viewlet'-definitions. I think it's not
right.

В Вск, 19/02/2006 в 19:46 +1300, Darryl Cousins пишет:
> Hi Garanin,
> 
> I don't believe such an agreement exists. I am getting used to using
> viewlets (zope.viewlet and implemented in zope.app.boston for example)
> and this provides easy insertion of "presentationSlots" as you describe.
> 
> For example in a tfws.layers.tfws.viewlets.i18info configure.zcml:
> 
>   <viewlet
>       name="tfws_i18ninfo"
>       for="*"
>       manager="zope.app.boston.ILeft"
>       permission="zope.Public"
>       class=".browser.I18nInfoViewlet"
>       template="viewlet.pt"
>       layer="tfws"
>       weight="3"
>       />
> 
> Hope this helps.
> 
> Regards,
> Darryl
> 
> 
> On Sat, 2006-02-18 at 19:05 +0300, Garanin Michael wrote:
> > Where are exists 'agreement about standart views'?
> > I think it's need for development components for site. 
> > Example of my problem:
> > I have two 3th-party components 'Forum' and 'News'. And i want easy
> > insert 'Last Forums Items'-box and 'Last News'-box into left column of
> > my site pages. I think authors of Forum and News must develop
> > '@@presentationSlotBox'-view according 'agreement about standart views'
> > for easy insert into site :
> > 1) @@presentationSlotBox from 'Forum' present 'Last Forums items'-box.
> > 2) @@presentationSlotBox from 'News' present 'Last News'-box.
> > 
> > 
> >  
> > 
> > _______________________________________________
> > Zope3-users mailing list
> > Zope3-users at zope.org
> > http://mail.zope.org/mailman/listinfo/zope3-users



More information about the Zope3-users mailing list