Using VmCategoryBot
Plugin settings
The plugin settings have 2 options that can be configured:
- Template name
- List first x categories in link list
- Categories to exclude
Template name
The template is stored in the following location:
Joomla 1.0: mambots/content/vmcategorybot/
Joomla 1.5: plugins/content/vmcategorybot/
The name can be anything as long as it follows the system guidelines. On Unix/Linux systems this means, the name is case-sensitive.
List first x categories in link list Some categories can have a lot of subcategories, this often makes a mess of the layout. This options allows to set the maximum number of links of subcategories to show. When this option is set there will never be more than the specified number of links shown per category.
Categories to exclude
VmCategoryBot allows for certain categories never to be displayed. These categories can be listed here in a comma separated list. The list should only contain category ID's and not category names. For example if the categories 5,6 and 10 should never be shown, the list will look like: 5,6,10.
Creating a link/page
To create a new content item take the following steps:
- Go to article manager
Joomla 1.0: Content → Content By Section → Your section → Items
Joomla 1.5: Content → Article Manager
- Click on New
- Fill in all necessary details
- In the textarea type the article. If for example the article is about racing cars and the store sells miniature racing cars, one or more categories can be listed here so the visitor is taken directly to the miniature racing car category/categories. Let's say the category ID of the miniature racing car category is 5, the link to include in the text is { categorypage id="5" }, without the spaces. There is no limit to the number of links that can be used. To specify more than one category, separate the category ID with a comma. If also category 7 needs to be displayed the link to include in the text is { categorypage id="5,7" }, without the spaces.
- Save the article
- Check the result on the website
