Emulating metal:fill-slot with views?

1 message Options
Embed this post
Permalink
Mikko Ohtamaa () Emulating metal:fill-slot with views?
Reply Threaded More More options
Print post
Permalink
Hi,

I am building a new (mobile) theme based on Grok views and viewlets. It is backwards compatible with existing Plone template stuff, so all Plone out-of-the-box functionality will work fine.

However, one thing remain I'd like to get my theme 100% old cruft free: is it possible to emulate metal:use-macro and metal:fill-slots with with views somehow? E.g. by installing dummy macros traverser. This way I could get rid of the last of the main_template.pt pieces and leave only dummy skins layer in place.

Here is the theme:

http://code.google.com/p/plonegomobile/source/browse/#svn/trunk/gomobile/gomobiletheme.basic/gomobiletheme/basic%3Fstate%3Dclosed

I have succesfully eliminated the need for viewlet managers and global defines with little tricks here:

http://svn.plone.org/svn/collective/collective.fastview/trunk/