mygunfriday
Member
Can someone help me on this... I haven't used the filters much and I can't find a clear answer to how to do this.
I have members making records.
Members can belong to more than 1 usergroup.
Usergroups can change periodically based on the member's actions.
So the records have the user's ID, but not the usergroup, since the usergroup can change, but the ID cannot.
I want to be able to display the records to visitors to the site based on the usergroup the member is in.
So, if I have 500 members and only 50 are members of the Canada Usergroup, then I want to create a list view that only displays records for users who are part of the Canada Usergroup.
There are a couple other issues.
1. I would like to calculate that a visitor is from Canada - so the user just goes to a page and see's Canada data. I can do this with php and get a value of $usergroup=canada or similar, but I don't know how/where I would use this.
2. I want to use the
Any thought on how best to do this?
- Jeremy
I have members making records.
Members can belong to more than 1 usergroup.
Usergroups can change periodically based on the member's actions.
So the records have the user's ID, but not the usergroup, since the usergroup can change, but the ID cannot.
I want to be able to display the records to visitors to the site based on the usergroup the member is in.
So, if I have 500 members and only 50 are members of the Canada Usergroup, then I want to create a list view that only displays records for users who are part of the Canada Usergroup.
There are a couple other issues.
1. I would like to calculate that a visitor is from Canada - so the user just goes to a page and see's Canada data. I can do this with php and get a value of $usergroup=canada or similar, but I don't know how/where I would use this.
2. I want to use the
{fabrik view=list id=x resetfilters=1 layout=div} method of displaying the form in an article. So I don't think I can use the menu item options to pre-filter the list.
Any thought on how best to do this?
- Jeremy