Saturday, June 7, 2008

update: goodbye macros, hello content providers

this is an update how to make you main content "reloadable" with kss. (previous post)

in browser/ (or anywhere else) put: looks like:

then when creating content type view just use BrowserContentView instead of BrowserView. until i take some time and write nice product for plone so you could easily use this peace of code you must register content provider in zcml by hand (browser/configure.zcml)

sorry about small pictures blogger does not provide some nice way to paste some code to you so i need to show you with pictures. i have my personal blog page in preparation, so during this summer i'll move my blog (it will be plone ofcourse :) )