| 1 |
// $Id: INSTALL.txt,v 1.9 2006/04/14 11:40:21 jaza Exp $
|
| 2 |
|
| 3 |
Requirements
|
| 4 |
------------
|
| 5 |
|
| 6 |
This module requires the corresponding stable version of Drupal.
|
| 7 |
No other modules are required beyond that.
|
| 8 |
|
| 9 |
|
| 10 |
Installation
|
| 11 |
------------
|
| 12 |
|
| 13 |
1. If you're installing Category to an existing site, save backup copies
|
| 14 |
of your database and files first. Category module changes a lot of things,
|
| 15 |
and therefore it may be difficult to un-install Category properly later.
|
| 16 |
|
| 17 |
2. Copy the category folder and its contents to the appropriate Drupal directory,
|
| 18 |
which is usually sites/all/modules/ or sites/your_site_name/modules/.
|
| 19 |
Drupal should automatically detect it.
|
| 20 |
|
| 21 |
3. Go to 'Administer -> Modules' (admin/build/modules) and enable category
|
| 22 |
(and additional modules in the Category group, such as category_menu,
|
| 23 |
category_display, and others, if applicable).
|
| 24 |
|
| 25 |
4. If you wish to use taxonomy-dependent Drupal modules (e.g. forum, image,
|
| 26 |
glossary) with this module, you must install the taxonomy wrapper module.
|
| 27 |
There is a script available to perform this installation for you. To
|
| 28 |
run the script, go to 'Administer -> Categories -> Wrapper modules'
|
| 29 |
(admin/content/category/wrappers), and click the 'install now' link
|
| 30 |
for the taxonomy wrapper. If you experience errors with this script (usually
|
| 31 |
due to file system permissions problems), see the instructions for
|
| 32 |
installing the wrapper modules manually (available online).
|
| 33 |
|
| 34 |
5. If you wish to use book-dependent Drupal modules (e.g. export_dxml) with
|
| 35 |
this module, you must install the book wrapper module. The procedure for
|
| 36 |
doing this is similar to that for installing the taxonomy wrapper module.
|
| 37 |
To run the book wrapper installation script, go to 'Administer -> Categories
|
| 38 |
-> Wrapper modules' (admin/content/category/wrappers), and click
|
| 39 |
the 'install now' link for the book wrapper. If you experience errors with
|
| 40 |
this script (usually due to file system permissions problems), see the
|
| 41 |
instructions for installing the wrapper modules manually (available online).
|
| 42 |
|
| 43 |
6. If you have existing taxonomy terms and vocabularies, or if you have
|
| 44 |
existing book nodes, you can import them as categories and containeris using
|
| 45 |
category_legacy. To do this, go to 'Administer -> Category legacy', and
|
| 46 |
follow the instructions on that page. It is recommended that you enable the
|
| 47 |
taxonomy and book wrappers before performing an import. Additionally, using
|
| 48 |
the taxonomy wrapper with existing taxonomy data is not recommended - either
|
| 49 |
import your existing taxonomy data, disable the taxonomy wrapper, or
|
| 50 |
delete your site's taxonomy data. You are able to leave the book module
|
| 51 |
enabled, and continue to use your book data, if you wish (but as with
|
| 52 |
taxonomy, it is recommended that you disable book).
|
| 53 |
|
| 54 |
7. Go to 'Administer -> Permissions' (admin/user/permissions) to configure
|
| 55 |
access privileges for this module.
|
| 56 |
|
| 57 |
8. Settings for this module are basically located at 'Administer -> Categories'
|
| 58 |
(admin/content/category), but you'll notice that nearly all of the wide
|
| 59 |
range of options are actually set on per-container or per-node-type basis,
|
| 60 |
so you need to visit 'Administer -> Content types -> edit' (admin/content/
|
| 61 |
node-type/your_node_type), and especially your container's edit page, to
|
| 62 |
make all the choices.
|
| 63 |
|
| 64 |
9. Go to 'Administer -> Categories' to start managing your categories and
|
| 65 |
containers. You can create new categories and containers from here, or
|
| 66 |
you can go to 'Create content -> Category' or 'Create content -> Container'.
|
| 67 |
As you'll be creating your categories and containers, you can adjust their
|
| 68 |
behavior to your needs through various settings found in the 'Category
|
| 69 |
information' or 'Container information' boxes.
|
| 70 |
|
| 71 |
10. You can assign content to categories by configuring your containers to be
|
| 72 |
associated with various node types, and then creating or editing nodes of
|
| 73 |
those types.
|
| 74 |
Note: content with assigned categories will only have its categories
|
| 75 |
displayed, if the taxonomy wrapper is installed, and if category_display
|
| 76 |
is not set to hide them.
|
| 77 |
|
| 78 |
11. You may create customized lists of content based on categories, if you
|
| 79 |
have installed the Views module (available at http://drupal.org/project/views),
|
| 80 |
and also use them for your categories through the category_views module.
|
| 81 |
To use Category data with Views, you need to install the taxonomy wrapper,
|
| 82 |
and choose taxonomy-based options in Views.
|
| 83 |
|
| 84 |
|
| 85 |
Troubleshooting
|
| 86 |
---------------
|
| 87 |
|
| 88 |
If something doesn't work as you expected, check all your settings first.
|
| 89 |
Most commonly, problems are solved by just reviewing the 'Container information'
|
| 90 |
box (while editing the container), as the settings located there are changing
|
| 91 |
behavior of all categories (and nodes to some extent) within that container.
|
| 92 |
(Note that some settings are hidden, unless other settings make them relevant,
|
| 93 |
so you really want to read the descriptions.)
|
| 94 |
|
| 95 |
You should also check, whether all necessary modules (such as category_display,
|
| 96 |
category_menu, and others) are enabled where needed, and the taxonomy and/or
|
| 97 |
book wrapper modules installed if necessary.
|
| 98 |
|
| 99 |
If you're experiencing problems with menu items, with taxonomy-based modules,
|
| 100 |
or with various content lists (including TOC trees and Views integration),
|
| 101 |
you might need to refresh your site's data through the category_resave module.
|
| 102 |
(This might happen after larger changes of settings, done while content
|
| 103 |
already exists on the site.)
|
| 104 |
|
| 105 |
Always keep database backups, if un/installing modules, or performing large
|
| 106 |
operations (such as category_resave do), so that you're able to revert the
|
| 107 |
changes if something goes wrong.
|
| 108 |
|
| 109 |
For further help, visit the sites http://category.greenash.net.au/ and/or
|
| 110 |
http://drupal.org/project/category
|