JComponentHelper::isEnabled() casts an unwantederror message - Joomla! Forum - community, help and support


hi,
jcomponenthelper::isenabled() casts errror message in case component not found. bad; beause want know, whether component there ore not; openly displayed error message confusing für die "normal" website user. (if want display error message, myself, please not method that's check.)

reason display: isenabled()-method calls getcomponent() , 1 calls _load()-method. see:
http://hg.joomla.org/joomla-platform/sr ... .php#cl-57

hope helps,
greetings, mareike


ps: i'm new forum; if wrong, tell me; i'll better:-)

hi, download phoca gallery , see:
administrator\components\com_phocagallery\libraries\phocagallery\utils\extension.php

i have implemented own specific method these results:

0 ... extension not installed
1 ... extension installed , enabled
2 ... extension installed not enabled

see:
http://www.phoca.cz/joomla/phocagallery ... nsion.html

jan





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