How to (programmatically) know the location of a module?? - Joomla! Forum - community, help and support
hi all,
i have (or rather, have) modules occupy different location on screen, depending on type of user accessing page. unregistered users, module located in right column, whereas administrators see module in left column.
is possible have joomla "see" , adjust layout accordingly? in other words, possible code this:
if module_position("module a") == "left"
css_characteristics == so-and-so
if module_position("module a") == "right"
css_characteristics == this-and-that
i wonder if can done. if so, provide working example?
thanks ton!
ludo
i have (or rather, have) modules occupy different location on screen, depending on type of user accessing page. unregistered users, module located in right column, whereas administrators see module in left column.
is possible have joomla "see" , adjust layout accordingly? in other words, possible code this:
if module_position("module a") == "left"
css_characteristics == so-and-so
if module_position("module a") == "right"
css_characteristics == this-and-that
i wonder if can done. if so, provide working example?
thanks ton!
ludo
Comments
Post a Comment