You are here

README.txt in Domain Taxonomy 7

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

README file for Domain Taxonomy.

File

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