I think this is a common question but I really didn't find an answer...
I have a table like the following:
+---+-----------+-------+
| id | title | filter |
+---+-----------+-------+
| 1 | title1 | A |
| 2 | title2 | B |
| 3 | title3 | C |
| 4 | title4 | A |
and a form with a databasejoin to that table rendered as a dropdown element
I need to filter the options list based on which joomla usergroup the user is member of.
So if user is in registered-A group then list must show only options with A filter.
How can I do that?
Thanks,
Max
I have a table like the following:
+---+-----------+-------+
| id | title | filter |
+---+-----------+-------+
| 1 | title1 | A |
| 2 | title2 | B |
| 3 | title3 | C |
| 4 | title4 | A |
and a form with a databasejoin to that table rendered as a dropdown element
I need to filter the options list based on which joomla usergroup the user is member of.
So if user is in registered-A group then list must show only options with A filter.
How can I do that?
Thanks,
Max