I want to use article description section (meta description) as a second title in joomla 2.5.x.
And put it in the article next to the headline.
To do this I use the following command.
<?php
jimport( 'joomla.document.document' );
function getDescription() {
return $this->description;
}
echo "<h3>".getDescription()."</h3>";
?>
I put it inside the following file but it did not work.
components\com_content\views\article\tmpl\default.php
echo $this->item->metadesc;
. – Elin