plone / diazo

Diazo applies a static HTML theme to a dynamic website
http://diazo.org
Other
41 stars 26 forks source link

Added path option for theme element #36

Closed ddokter closed 8 years ago

ddokter commented 9 years ago

The suggested code enables setting a 'path' attribute on the 'theme' element in a rules file. When set, the path is used to further specify the theme. For example, when the selected theme is a file 'index.html', the path is a further selector within the HTML of this file, so as to be able to extract a snippet as the final theme HTML. This provides an easy to do ajax or otherwise partial updates on page parts.

lrowe commented 9 years ago

I'm not sure what I think of this but it needs tests to demonstrate the functionality.

jensens commented 8 years ago

This is now open for more ~11 months w/o any update in code. I close this one. If you plan to work on it please just reopen and go on!