Is a module enabled? Testing for a module - Joomla! Forum - community, help and support


what php code can add template test if particular module enabled? why, depending on whether or not enabled may want vary output page, perhaps version of jquery, mootools, css something, etc?

you can use jmodulehelper provides ways access, display, count, , etc. variety of module requirements coding.

http://docs.joomla.org/jmodulehelper

and more specifically

http://docs.joomla.org/jmodulehelper/isenabled

i don't recommend harcoding php files in joomla, try override if doing joomla related things or modules want change if it's not 1 you're writing. joomla has override functionality that.

if it's own code away :)





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