I need help with the countModule - Joomla! Forum - community, help and support
code: select all
double background: <? php if ($ this-> countmodules ( 'leftmodule , rightmodule')):?>
left background: <? php if ($ this-> countmodules ( 'leftmodule')> 0)?>
right background: <? php if ($ this-> countmodules ( 'rightmodule')> 0)?>
normal background: <? php if ($ this-> countmodules ( 'rightmodule + leftmodule') == 0)?>
problem:
if left , right module activated dual background appears leftmodule left background , rightmodule right background underneath de dual background.
this logical because above code leftmodule , rightmodule order appears activated when left , right both activated dual background want only.
the left module left background must receive assignment should not appear right module activated , vice versa.
i not php programmer. have tried various combinations i’m not seeing anymore..
what must left module left background not appear right module enabled also?? , visa versa.
greetzz stephanie
Comments
Post a Comment