stop a plugin running in a particular component - Joomla! Forum - community, help and support


i have found can stop plugin running in admin side fine how can particular component. dont want plugin run code f using easyblog in case.

function onafterrender(){
$juri = &jfactory::geturi();
if(stripos($juri->getpath(),'/administrator/')!==false) return; // dont run in admin mode
...

for example

for admin,

j2.5 this
$app = jfactory::getapplication();
if (!$app->isadmin())

and blog check
i use vmart
if ( jrequest::getvar('option')=='com_virtuemart') {

so same !=





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support