Re: Update to theming document, important news for themers

David Glick <davidglick-PRw/[email protected]>
Newsgroups gmane.comp.web.zope.plone.documentation,gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
I fixed some incorrect indenting and factual and nomenclature errors  
in your docs addition.

However, on further thought, I think OOTB themes that need backwards  
compatibility should just use:
render = ViewPageTemplateFile(...)

...just like we always have done (until Plone 3.1.x).

Doing it that way means the viewlet can't be overridden by a ZCML  
template= declaration on another layer, but what I just realized is  
that it can't anyway, because you can only have one theme-specific  
layer at a time.  So that concern is irrelevant.

Using 'index' is really only relevant for Plone itself and add-on  
products.

David

On Dec 9, 2008, at 5:02 PM, Veda Williams wrote:

> Hi All,
>
> After some poking around in a theme today, I realized that something  
> had
> changed in the 1.1.3 version of the plone.app.layout egg. The upshot  
> of this
> change meant that any new themes being developed with this newer egg  
> would
> break when installed on an older 3.x version of Plone.
>
> I've added a section called "3.1 Theme Compatibility Between  
> Different 3.x
> Versions of Plone" to this document to try to ensure best practices  
> moving
> forward:
>
> http://plone.org/documentation/tutorial/customizing-main-template-viewlets/o
> verriding-a-class-viewlet
>
> While this is a documentation update, it's also important for  
> themers to
> understand that something has changed under the covers. And, for the  
> OOTB
> project in particular, themers should strive for backwards  
> compatibility.
>
> If my notes here are unclear, please let me know.
>
> Thanks!
>
> - Veda
>
>
> -------------------
> Veda Williams, ONE/Northwest
> Web Developer / Skinner
>
>
>
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,  
> Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to  
> help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Plone-docs mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/plone-docs

David Glick
Web Developer
ONE/Northwest

New tools and strategies for engaging people in protecting the  
environment

http://www.onenw.org
davidglick-PRw/[email protected]
work: (206) 286-1235 x32
mobile: (206) 679-3833

Subscribe to ONEList, our email newsletter!
Practical advice for effective online engagement
http://www.onenw.org/full_signup





------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.