$app = JFactory::getApplication();
if ($app->isAdmin())
{
return;
}
$app = JFactory::getApplication();
if ($app->isAdmin())
{
return;
}
// check to only see if we're inside com_content, and not inside modules
if (!$params->exists('article_layout'))
return;
What tags component? Are you saying the built-in tags feature in Joomla 3.1? Also, what page is blank? Is it an admin page, a front-end page, or somewhere else? If you can provide the URL that would help (even if it's just a relative path without your domain) so we can test and see what may be happening.When I change the code the TAGS component form Joomla 3 won't work anymore. I'll get a blank page.
$app = JFactory::getApplication();
if ($app->isAdmin())
{
return;
}
// Check to only see if we're inside com_content, not tags (or anywhere else)
if (strpos($context, 'com_content') !== 0)
return;
// Make sure we're showing the article from the component, not from a module
if (!$params || (get_class($params) == 'JRegistry' && !$params->exists('article_layout')))
return;
//Get Social RenderKey
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.