Try: <head> <?php include_http_metas() ?> <?php include_metas() ?> <?php include_title() ?> </head>
On Sun, May 10, 2009 at 8:54 PM, dziobacz <[email protected]> wrote: > > Code: > <head> > </head> > > And in browser: > <head> > <script type="text/javascript" src="/js/jquery.js"></script> > <link rel="stylesheet" type="text/css" media="screen" href="/css/ > main.css" /> > </head> > > > On 10 Maj, 10:04, Sid Bachtiar <[email protected]> wrote: >> Could you post the code in your layout (e.g.: layout.php) between >> <head> and </head> please. >> >> Also it is possible that the metas are overriden in your module's >> config, e.g.: "yourproject/apps/yourapp/modules/yourmod/config/view.yml" >> >> >> >> On Sun, May 10, 2009 at 7:59 PM, dziobacz <[email protected]> wrote: >> >> > After changed layout on this from symfony tutorial 'meta' also aren't >> > adding. >> >> > On 10 Maj, 09:55, dziobacz <[email protected]> wrote: >> >> Did you symfony cc? >> >> Yes, I did. >> >> >> Did you change layout.php? >> >> Yes, I have other layout than in tutorial - my own layout. >> >> >> Where did you put that view.yml? >> >> In \sf_sandbox\apps\frontend\config\view.yml - this is strange because >> >> javascript and css was added to layout from this file. >> >> >> On 10 Maj, 09:22, Sid Bachtiar <[email protected]> wrote: >> >> >> > Did you symfony cc? >> >> >> > Did you change layout.php? >> >> >> > Where did you put that view.yml? >> >> >> > On Sun, May 10, 2009 at 6:59 PM, dziobacz <[email protected]> >> >> > wrote: >> >> >> > > I don't have meta tags :( >> >> >> > > I have in view.yml: >> >> >> > > default: >> >> > > http_metas: >> >> > > content-type: text/html >> >> >> > > metas: >> >> > > title: symfony project >> >> > > description: symfony project >> >> > > keywords: symfony, project >> >> > > language: en >> >> > > robots: index, follow >> >> >> > > stylesheets: [main.css] >> >> >> > > javascripts: [jquery] >> >> >> > > has_layout: on >> >> > > layout: layout >> >> >> > > And I see in view source my browser: >> >> > > <head> >> >> >> > > <script type="text/javascript" src="/js/jquery.js"></script> >> >> > > <link rel="stylesheet" type="text/css" media="screen" href="/css/ >> >> > > main.css" /> >> >> >> > > </head> >> >> >> > > No meta tags, why ? >> >> >> > -- >> >> > Blue Horn Ltd - System Developmenthttp://bluehorn.co.nz >> >> -- >> Blue Horn Ltd - System Developmenthttp://bluehorn.co.nz > > > -- Blue Horn Ltd - System Development http://bluehorn.co.nz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
