0
Welcome Guest! Login
0 items Join Now

Swapping a Module Area based on whether someone is logged in or not? Possible?

  • Swapping a Module Area based on whether someone is logged in or not? Possible?

    Posted 16 years 1 month ago
    • OK - here's one for the group... I've got a menu item that needs to be public... as in - always there whether you are logged in or not... HOWEVER, I'd like to be able to have a module position on a page where the module position name changes according to whether or not someone is logged in... mainly an IF - THEN - ELSE satement...

      For example...
      IF USERLOGGEDIN = YES
      mosLoadModules('this',-2);

      ELSE
      mosLoadModules('that',-2);

      The idea is simple... I know... but being that I don't know what calls need to be made to determine whether or user is logged in or not, this is just driving me nuts...

      So I figured, instead of putting another hole in my wall with my head, I'll turn to the guru's here...

      Thanks!!!

      RH
  • Re: Swapping a Module Area based on whether someone is logged in or not? Possible?

    Posted 16 years 1 month ago
    • I would ask that at forum.joomla.org
    • James Spencer / Developer & Support / Hull, UK

Time to create page: 0.050 seconds