Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » MM_LOGGED_IN not working
MM_LOGGED_IN not working
MM_LOGGED_IN not working
Hi, thanks in advance for your time and work, I'm having problems with the "if Logged in" function, the Not Logged IN is working fine, but the logged in does not work, , this is my metamod module code, if ( MM_NOT_LOGGED_IN ) return 54;
if ( MM_LOGGED_IN ) return 10;
That will show a "please register" image to non logged in users, but will not show anything to logged in users, even with the "hello user" module created. Any ideas ? , i have the latest 1.5 version, running on joomla 1.5.14 with sh404sef 1.0.15_Beta - build_218 with legacy enabled.
OpEn YoUr MiNd
Re: MM_LOGGED_IN not working
Hi Kuato,
I wonder if you are using the GUI control as well as the PHP box for the logged in user thing? If you're using the PHP controls (as above; the recipe you wrote looks fine) then don't set the "Show Quick Module(s) to" control. Just leave it as "All users".
If that wasn't the problem, then double check the module that you were trying to include for logged-in users. Is it enabled?
You should also turn on DEBUG mode in MetaMod and see what messages it produces. It should give some indication of what modules it thinks it should be including.
Please write back if you still can't get it working,
Hope that helps,
Stephen
- Index
- » MetaMod
- » MetaMod General Support
- » MM_LOGGED_IN not working
Board Info
- Board Stats:
- Total Topics:
- 1699
- Total Polls:
- 6
- Total Posts:
- 5967
- Total Posts Today:
- 2
- User Info:
- Total Users:
- 8028
- Newest User:
- musial8334
- Members Online:
- 0
- Guests Online:
- 163
- Online:
- There are no members online
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked