| 1 |
This module is an add-on for the Bio module, it automatically adds taxonomy terms to the Bio node based on the Bio nodes owners role.
|
| 2 |
|
| 3 |
Why?
|
| 4 |
|
| 5 |
With the Bio node assigned taxonomy terms with the same names as the rolse of its owner, it opens up a number of opportunities :
|
| 6 |
|
| 7 |
* Listing profiles by role
|
| 8 |
* Restricting access to profiles by both who is viewing the profile and who owns the profile (with the help of Taxonomy Access Control)
|
| 9 |
* ... and probably other things, answers on a postcard please :)
|
| 10 |
|
| 11 |
|
| 12 |
How?
|
| 13 |
|
| 14 |
The module updates the Bio node every time the user or the bio node itself is saved. There is also a bulk update feature to process all Bio nodes at once.
|
| 15 |
|
| 16 |
Setup is very simple,
|
| 17 |
|
| 18 |
1. Download and install the module
|
| 19 |
2. Create a new vocabulary and insert some terms which match the names you have for roles e.g. admin
|
| 20 |
3. Assign the new vocabulary to the Bio content type
|
| 21 |
4. Go to the Bio role terms admin page (admin/user/bio_role_terms) and select the correct vocabulary, then save
|
| 22 |
5. Optionally, perform a bulk update.
|
| 23 |
|
| 24 |
|
| 25 |
This is a very new module and not fully community tested, so backup first. Also any budding coders out there, we have 3 TODO items in the code which would love some attention.
|
| 26 |
Patches, new features, issues etc all very welcome
|
| 27 |
|
| 28 |
Sponsored by OpenlyConnected
|
| 29 |
|
| 30 |
Hope you find it helpful.
|
| 31 |
|
| 32 |
a_c_m
|
| 33 |
|
| 34 |
openlyconnected.com
|