Re: [Zope3-Users] standart views ('slot-box views')

2006-02-19 Thread Garanin Michael
Sorry, i think i mistake in my question. I only want offer rule for develop components: if you develop component for use in web-sites, then develop few 'slot-box views' for easy insert into sites. 'slot-box views' it's little box with standart zope3-css (div.box etc.) Example: 1) I develop 'NewsM

Re: [Zope3-Users] standart views

2006-02-19 Thread Darryl Cousins
Hi Garanin, No, not quite. Your 'site' I presume has it's own skin. The browser:viewlet zcml directive is a way to plug a 'viewlet' from a package into your skin (using the layer attribute). You are not *overwriting* my viewlet, simply defining where it should appear to the user in their browser.

Re: [Zope3-Users] standart views

2006-02-19 Thread Garanin Michael
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 > v

Re: [Zope3-Users] standart views

2006-02-18 Thread 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:

[Zope3-Users] standart views

2006-02-18 Thread Garanin Michael
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