Re:Custom head tag question...
Wednesday, 15 October 2008 08:20
Hi,
The content of Head tag is obtained by the following codes.
$mainframe->_head;
And, to add it to meta tag, three methods are prepared.
$mainframe->addMetaTag( $name, $content, $prepend='''', $append='''' );
$mainframe->appendMetaTag( $name, $content );
$mainframe->prependMetaTag( $name, $content );
and exmaple in your template.
$mainframe->prependMetaTag( ''testname'', ''testcontent'' );
mosShowHead();
output:
<meta name="testname" content="testcontent">
Thanks