0

Is it possible to have multiple ifconfig values in a magento layout action tag?

If so whats the syntax?

I have looked at the _generateAction() function in app\code\core\Mage\Core\Model\Layout.php and it doesnt appear that there is any way of doing this.

I need to add a javascript file only if two config settings are enabled

Manashvi Birla
  • 2,837
  • 3
  • 14
  • 28
Johnathan
  • 33
  • 1
  • 6
  • 2
    Look at Alan's way of using a helper [here](http://stackoverflow.com/questions/5596193/magento-xml-layouts-specify-value-for-ifconfig/5601579#5601579). – clockworkgeek Jul 23 '11 at 18:04
  • Technically it's Magento's way of doing it, nto mine, but yeah, what clockwork said. – Alana Storm Jul 23 '11 at 19:09

0 Answers0