Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod Pro
- » MetaMod Pro General Support
- » Just a general question, if you please..
Just a general question, if you please..
Just a general question, if you please..
Good morning!
I just bought your pro version.
I should have asked before I bought, but, there ya go!
My question is, I have several forms for article submissions, but each form is for specific users. Lets say user 1,2&3 are to use form one.
users 4&5 are to use form two, and users 6,7&8 form three.
Can I have this show the link to the form based on who is logged on (they arent in groups), and have it links showing in the same exact place?
--Meaning... if users 1,2&3 are logged in they see the link to create their article in module position 12. If users 4&5 are logged in, they see THEIR specific link, in module position 12 as well, etc.
I am trying to prevent cross contamination of article postings, due to users not paying attention to what category they are posting in.
And if I praddled on without much sense, let me know and I will reword it. It is 04:00 for me right now and I am a bit tired.
09-Sep-09 09:40:02
Re: Just a general question, if you please..
Hi MacDaddy,
yes, you can definitely do that, it's pretty standard.
1 - set up some basic "html" modules, one for each of the links that you want to show to the users. Make sure you set "Menu assignment: none" for each of them.
2 - select the page that you want these to display on
3 - set up the MetaMod on that page, with the following PHP rules:
Code:
if ($user->id == 1 or $user->id == 2 or $user->id == 3) return 101;
if ($user->id == 4 or $user->id == 5) return 102;
if ($user->id == 6 or $user->id == 7 or $user->id == 8) return 103;
Replace 101, 102 and 103 with the module ids for the 3 modules you created.
Replace the user ids (1, 2, 3, 4, 5, 6, 7, 8) with the real user ids for the users. You can find these in the user manager.
Hope that helps,
Regards,
Stephen
- Index
- » MetaMod Pro
- » MetaMod Pro General Support
- » Just a general question, if you please..
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5946
- Total Posts Today:
- 2
- User Info:
- Total Users:
- 7675
- Newest User:
- ferelya229
- Members Online:
- 0
- Guests Online:
- 178
- 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