Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.


jamesaa7
Beginner Modder
ranks
useravatar
User Info

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!!


Administrator has disabled public posting
jamesaa7
Beginner Modder
ranks
useravatar
User Info

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


Administrator has disabled public posting

Board Info

Board Stats:   Total Users: 3074  Total Topics: 1195  Total Polls: 7  Total Posts: 4448  Posts this week: 19
User Info:   Newest User :  toutlu   Members Online: 1   Guests Online: 89
Online 
Jeff78
Topic
New
Locked
Topic
New
Locked
Sticky
Active
New/Active
Sticky
Active
New/Active
New/Closed
New Sticky
Closed/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky Active Locked
Active/Sticky
Sticky/Locked
Sticky/Active/Locked