How to add JS programmatically in Magento?

后端 未结 3 963
忘了有多久
忘了有多久 2021-01-31 23:53

I need to add a JS file conditionally and programmatically inside a block file. I tried with these codes:

if (Mage::getStoreConfig(\'mymodule/settings/enable\'))         


        
3条回答
提交回复
热议问题