Thanks for your reply Lance!
but still this is not a good way to handle this issue, at least because the code in the view will be ugly since some metas have been generated by cake and others you should put them in plain hard coding!
i already did it as you said but IMHO i still think that the missing metas must be implemented by cake to complete the bundle!
Thanks again.
but still this is not a good way to handle this issue, at least because the code in the view will be ugly since some metas have been generated by cake and others you should put them in plain hard coding!
i already did it as you said but IMHO i still think that the missing metas must be implemented by cake to complete the bundle!
Thanks again.
On Wed, Oct 1, 2008 at 11:22 AM, Lance Willett <nanobar@gmail.com> wrote:
Hi soosa,
> is there any way to generate the output for those metas as dealing with description and
> keywords metas?
The "meta" HTML helper currently supports building meta elements for
"rss", "icon", "atom", "keywords", and "description". For all the
other types of meta elements, you are better off inserting them in
plain old HTML, which is what I do for all meta elements, anyway. You
can still use dynamic elements in the meta content area, like "<?php
echo $title_for_layout ?>" to insert the current page title.
See the meta API reference here:
http://api.cakephp.org/1.2/class_html_helper.html#9489839503311b5167336ae0abdd0f8a
and the accepted types on line 200 of file html.php (http://
api.cakephp.org/1.2/html_8php-source.html#l00200).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment