Overview 31 from 47

JH modulehandler

creates variables of the active modules for using in your templates. So you can check in your templates if your modules are active.

Free
Description

With the following code you can check in your Smarty-templates if your module "mymodulename" is loaded and active:

[ {if $oViewConfig->moduleLoaded_mymodulename} ]...[ {/if} ]

With this method you can write HTML-code or other functions that depend on the activation of your module in any template.

If the module is deactivated, you can make a fallback with {else}.


No EULA uploaded, general EULA terms according to OXID eXchange terms and conditions apply.

Tags: templates, smarty, module, control, active

Versions
Reviews
Vendor

eXchange categories

Information