Re: How to create meta tags?
Posted: 27 Dec 2009, 16:43
Hi, for now there is no such option
This is planned.
Jan
Jan
Code: Select all
$doc =& JFactory::getDocument();
$doc->setMetaData( 'description', 'Some text: '. strip_tags($this->category->title) .' '. strip_tags($this->category->description));Code: Select all
<?php
defined('_JEXEC') or die('Restricted access');