Creating a Groups Category "Home" Page in JomSocial

Posted by: Jennifer Driller in Joomla

I'm working on a site that needs areas devoted to two different types of users. we opted to use groups to divide the sections of the web user experience. Let's call the first category of groups "Projects" and the second category "Vendors".

First create the categories in the backend administrator area. Make note of the category IDs. Then create some sample groups for testing purposes. Call them project 1, project 2 (assign them to the Projects categor) and vendors 1, and vendors 2 assigned to the Vendors category.

Now create a new menu called othermenu. Open the othermenu and create a new URL link. Use this: http://www.your-domain.com/index.php?option=com_community&view=groups&categoryid=1 where 1 is your category ID. Make sure it's published.

Now you have a page that lists all the groups in that particular category. You can then edit this page by changing the php/html in the following pages:

  • components/com_community/templates/default/groups.index.php
  • components/com_community/templates/default/groups.list.php
  •  components/com_community/templates/default/toolbar.index.php

With some tweaking you can make this into an informative page to represent a collection of groups within a main category.

Other hacks and options:

 

 

Trackback(0)
Comments (0)Add Comment

Write comment

security code
Write the displayed characters


busy