Thursday 5 April 2012

To check the condition whether the module is installed or uninstalled

To check the condition whether the module is installed or uninstalled to display particular block in tpl file

{if Module::isInstalled("productcomments")}
<div>This block is to be displayed only when module is installed</div>
{/if}

No comments:

Post a Comment