I am looking to adding meta tags (i.e <meta description ...> , meta keywords ....> to the forms I created with chronoforms.
I found
However, I believe the above only works for Joomla 1.5 and above.
How can I add meta tags to forums in Joomla 1.0xxx?
Thanks,
narsaw
I found
<?php
// workaround for ChronoForms bug
if ( !$mainframe->isSite() ) { return; }
$doc =& JFactory::getDocument();
$doc->setDescription ('description-string, 'title-string');
// general version
$doc->setMetaData( 'tag-name', 'tag-content', true );
// for example . . .
$doc->setMetaData('keywords', 'META, meta element, metadata, metainformation, meta data');
$doc->setMetaData('robots', 'noindex, follow');
// and so on
?>
However, I believe the above only works for Joomla 1.5 and above.
How can I add meta tags to forums in Joomla 1.0xxx?
Thanks,
narsaw