Quantcast
Channel: Discussions - T3 - Joomla Template Framework
Viewing all articles
Browse latest Browse all 3483

Adding Parameter to Article

$
0
0
Hi,
I want to create a new parameter in my template to display social icons in Joomla articles. I have added the parameter to my templateDetails.xml file like that:
			


JNO
JYES


And in /html/com_content/article/default.php I have added this at the top of the page:
$content_social = ($this->params->get("CONTENT_SOCIAL_ICONS",1));
And this:


social share button is here

But when I change the parameter from my Template Manager it doesn't effect whether to display or not. How can I get the template parameter in the Joomla article?

Thanks

Viewing all articles
Browse latest Browse all 3483

Trending Articles