You are here

README.txt in Domain Taxonomy 6

Same filename and directory in other branches
  1. 7.3 README.txt
  2. 7 README.txt

README file for Domain Taxonomy.

File

README.txt
View source
  1. /**
  2. * @file
  3. * README file for Domain Taxonomy.
  4. */
  5. Domain Taxonomy
  6. Implements taxonomy domain access logic (like domain access for nodes).
  7. CONTENTS
  8. --------
  9. 1. Installation
  10. ----
  11. 1 Installation
  12. 1) activate module (admin/build/modules)
  13. 2) customize module settings on special control panel (admin/build/domain/taxonomy)
  14. Some options of this module repeat similar options on main Domain Access setup
  15. form (admin/build/domain). But in this place similar options works for domain
  16. access terms managment.
  17. some new options:
  18. - "Vocabulares without domain access rules"
  19. Select checkboxes for vocabulares with terms which don`t use domain taxonomy access mechanism
  20. and can be accessible anywhere by default.
  21. - "Share this vocabulares to all affiliates by default"
  22. select vocabulares which would be like node types in "Domain node types" domain access setting.
  23. Terms in this vocabulares will be published to all affiliates when created. If publishing options
  24. won't be inherited.
  25. - "Parent vocabulares for node types"
  26. Inherit access rules for nodes from terms. When editing or creating nodes you can use "inherit
  27. from parent term" options to inherit domain access rules for this node from parent term. But
  28. node can have several associated vocabulares and this option specify which vocabulare use for
  29. inherit by current content type.
  30. Example: choose vocabulary "Forum" for node type "Forum Topic" if you want nodes in forums to
  31. inherit parents forums domain access rules.
  32. - "Term link patterns"
  33. This like Node link patterns. Uses for term links when SEO is activated for domain taxonomy
  34. link output.
  35. IMPORTANT: For rewrite urls for terms like for nodes you must patch Domain
  36. Access 'settings_custom_url.inc' file. In this file at begin of
  37. function 'custom_url_rewrite_outbound' insert code below:
  38. --------------
  39. if (module_exists('domain_taxonomy')) {
  40. domain_taxonomy_url_rewrite_outbound($path, $options, $original_path);
  41. }
  42. --------------
  43. 3) Declare terms access rules on term edit forms on submit. Term forms extended by elements
  44. identical to node edit forms + some specific term options:
  45. - "Load domain access options for term from parent term"
  46. This boolean organize inheriting domain access rules from parent taxonomy term. If true then
  47. domain access form settings overrides by parent term.
  48. - "Override all child terms"
  49. This boolean organize inheriting domain access rules of current term to all his child terms.
  50. - "Override all child nodes"
  51. This boolean organize inheriting domain access rules of current term to all his child nodes.
  52. 4) EDIT/CREATE node in vocabulares which uses domain access rules
  53. Node form extends by new boolean option "Load domain access options for node from parent term",
  54. that works on submit.
  55. When editing node with 'set domain access' permission you can edit this option.
  56. Otherwise this option hides for user and get true value when creating node and false value when
  57. node edit.
  58. It works this way: registered user or anonymous create new node (may be Forum topic).
  59. For example: User without permissions to choose domains for publishing nodes, selects
  60. taxonomy(Forum) only for this node. And after submiting, this node will gain domain access rules
  61. from parent Forum term. After this, admin can edit this node. With 'set domain access' rights he
  62. will see an option "Load domain access options for node from parent term" in domain access
  63. options block. This options will be false for saved node. Admin can assign individual domain
  64. access rules for this node if inherit options is not set.
  65. !!
  66. Note, that terms by domain filtering is disabled on urls like admin/* for administration access to all terms