Group(b) within Group(a)

I have a scenario involving the groups module.

In my case, I have duplicated the groups module into two new modules. One called Clients, and the other called Businesses.

The concept behind these two groups is:

Each member has a list of their own Clients. When clicking the 'My Clients' link, the user is taken to that list of their own clients. (This module is already completed and working properly)

Each member can be a "Fan" (member) of a Business. Within each Business (Group) View page, would would be a table of  all of the clients of all "Fans" of that group.

Acceptance of this option would be done by the author of the client on the Add Client (Add Group) form.

Check-box called "Add to Business" where checked equals "Yes" in the AddToBusiness field in _cf_clients_main table for that new client

Select field called "Business" - values equal to all Businesses that this user is a "Fan" of - and entered into Business field in cf_clients_main table for that new client

Since I have not quite yet grasped Dolphins concept of displaying database results in its nifty little way, I am going to use a jquery table instead.

The table displays the results of a query: Select * FROM cf_clients_main WHERE AddToBusiness = 'Yes' AND Business = '$aDataEntry['id']'

In theory, all this seems plausible, but wondering if there is already a simpler way of doing things, and retaining the default dolphin layouts and views and such.

Also - if this does work and there is not a simpler way, this concept may also apply to photos and videos in creating albums within albums.

caredesign.net
Quote · 7 Dec 2013

I was hoping that someone would jump in and come up with a quicker, easier, better way to put a group within a group. But, my concept seems to be working for me. I still hope someone can submit some newer ideas on how to accomplish this. But, hey, I did figure out how to put maps for groups in the mobile app.

caredesign.net
Quote · 9 Dec 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.