Archive for December, 2006

  • Selecting content item as default view of a folder (including the /Members folder!)

    Selecting content item as default view of a folder (including the /Members folder!)

    I always wondered why the ‘Display’ tab containing the ‘select content item as default view’ was sometimes clickable and sometimes not. Well the answer is simple (it always is after you’ve found it): if you have an item in your folder called index_html, Plone will automatically recognise that as the default view item, and you […]

    Read more »
  • Inserting content of Plone document into Zope template

    Inserting content of Plone document into Zope template

    As explained in an recent article titled ‘Edit ZPT content through Plone ‘ on plone.org, we can insert the content of a document called my-document, say, by inserting the following into your template: <tal:block tal:condition="exists:here/footer-content/my_document" tal:replace="structure here/footer-content/my_document/getText"> Document content here</tal:block> Perhaps one of these days Plone can use this method so that we can edit […]

    Read more »