Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

Module placement in jomsocial group page

Module placement in jomsocial group page

Hi i have just downloaded metamod, looks very interesting.

I would like to be able to add a module to an individual group page within jomsocial based on the groupid

I am however not sure where to start, on the recipe!

Any help would be very appreciated.

I am using metamod 2.5 with joomla 1.5.18 and jomsocial 1.8.7

Thank you!!

jamesaa7
Beginner Modder
ranks
useravatar
Offline
2 Posts
Administrator has disabled public posting

Re: Module placement in jomsocial group page

Ok well i have now come up with a solution!

$groupid = JRequest::getInt("groupid", 0);
if ( $groupid == XX) return "YY";

where XX is the groups id
and YY is the module to return

Seems to work well

jamesaa7
Beginner Modder
ranks
useravatar
Offline
2 Posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5913
Dormant:
User Info:
 
Total Users:
10734
Newest User:
gudad2
Members Online:
3
Guests Online:
167


Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked