With a little side of applesauce...

Tuesday, April 15, 2008

Plone - Zope Page Template skeleton

I thought I had posted this at one time, but it must have been lost in the blog migrations over time. Zope Page Templates are central to Plone content creation, but it is difficult to find an example of the additional elements which are needed to get your Page Template to show up in the Plone main slot:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"


<div metal:fill-slot="main">

... fill in some HTML and TAL here


Thanks to the following tutorial for the example:

Interestingly, the page is still not showing up in the parent's "Contents" list, but that is not a blocking bug at this point...

No comments: