On Wed, Apr 23, 2008 at 05:07:47PM +0200, Guillaume Lecanu wrote:

> Like index.php and about.php have the same menu, I have added a
> /templates/macros.html page.  In this macros.html, I have added the
> menu div with the attribute metal:define-macro="menu".  In the 2
> others templates pages, I have set the menu sample to uses the
> macros.html version, for that I have used
> metal:use-macro="macros.html/menu" 

You should read up the parts about define-slot and fill-slot in the
phptal docs.

-- 
cu

Attachment: pgpZURCmt1DNK.pgp
Description: PGP signature

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to