On Tue, Jul 15, 2008 at 12:40 PM, Sumedh <[EMAIL PROTECTED]> wrote: > Hi Nicolas...do you mean, I shouldn't use include_metas(), and instead > write tags in the template directly as a simple HTML?
That's it. You can have in your layout: <html> <head> <?php if (has_slot('http_metas')): ?> <?php include_slot('http_metas') ?> <?php endif: ?> </head> And in one of your actions templates, eg. aboutUsSuccess: <?php slot('http_metas') ?> <meta name="title" content="About us | My Company Inc." /> <meta name="description" content="Presentation of the My Company Inc. company" /> <meta name="keywords" content="foo, bar, baz" /> <?php end_slot() ?> Of course this is a very simple example, but you get the point. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---