Hi
I use the Event Switcher [GH] to load content under various conditions. I can not understand, but something is not well.
I use Event Switcher [GH] element, with the following code "if"
But only work one option at a time, if option A is true no longer load the option B. But if option A is false already carries option B, and so on.
I would like to load all options that were true, but maybe something is wrong...馃樁
What am I doing wrong?
Someone can help me?
Thanks
Ant贸nio Gra莽a
I use the Event Switcher [GH] to load content under various conditions. I can not understand, but something is not well.
I use Event Switcher [GH] element, with the following code "if"
if (!empty($count_prova1)):
return 'event_a';
elseif (!empty($count_prova2)):
return 'event_b';
elseif (!empty($count_prova3)):
return 'event_c';
elseif (!empty($count_prova4)):
return 'event_d';
endif;
But only work one option at a time, if option A is true no longer load the option B. But if option A is false already carries option B, and so on.
I would like to load all options that were true, but maybe something is wrong...馃樁
What am I doing wrong?
Someone can help me?
Thanks
Ant贸nio Gra莽a