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






Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums