When creating typical web page we all use #ids, and something like: layout.html> metal:define-macro="html" metal:define-slot="content"
index.html> metal:use-macro="../layout.html/html metal:fill-slot="content" And most probably content will be <div id="content">. So maybe just to make our work easier PHPTAL should also fill directly element with defined ids? layout.html> metal:define-macro="html" <div id="content">some text</div> index.html> metal:use-macro="../layout.html/html <div id="content">this will replace "some text" in master template</div> What do You think? _______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal