Catalog and Static Pages Menu
You can add links to the Catalog plugins in the Static Page Menu.
This section is usefull only if you use the Rainlab Static Pages plugin, as it will provide support for the Static Pages Menu feature.
To generate a link to the page where you list all your categories
- Create or update a new menu in Pages/Menu.
- Click on Add item,
- Enter your title, ie Categories,
- Choose
CmsPage
as type - Select the page where you have placed the Catalog
Categories
component, - Click on Apply
- That's it !
To generate dynamic links to all your categories (at the same level)
- Create or update a new menu in Pages/Menu.
- Click on Add item,
- Enter your title, ie All categories (this time this title will not be disaplayed on frontend),
- Choose
All Catalog categories
as type - Select the page where you have placed the Catalog
Categories
component, - Click on Apply
- You should see all your categories in you menu !
Warning : All categories are flattened, so categories and subcategories are displayed at the same level. This is the way the Static Page Menu works.
If you want to generate a link to a specific category
- Create or update a new menu in Pages/Menu.
- Click on Add item,
- Enter your title, like the name of your category (seems logical right ?),
- Choose
Catalog category
as type - Select the category you ant to make a link on in the
Reference
section, - Select the page where you have placed the Catalog
Categories
component in the CmsPage section, - Click on Apply
- Don't forget to add
/:slug
a the end of the url of your page where you have placed the CatalogCategories
component - That's it !