If you want to change these in the controller, you can do the following in
your controller functions:
$this->set('meta_description', 'Your description...');
$this->set('meta_keywords', 'Your keywords...');
Then put the following in your layout:
<meta http-equiv="description" content="<?= $meta_description ?>" />
<meta http-equiv="keywords" content="<?= $meta_keywords ?>" />
Hope that helps...
Tim
On Oct 2, 8:17 pm, seefai <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > May i know the way to put meta tag keyword and description in every
> > page from my cakephp?
> >
> > Like title i can set it in controller, but how about meta tag like
> > keyword and description of the site?
> >
> > I cannot find any documents online that guide me on this, anyone
> > please help ...
> >
> > Appreciate.
> >
> > Thanks
> >
> > Andy
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---