Joomla - Categories Generator
In this article
With this dynamic slide generator you can show the sub-categories of your Joomla Categories.
Do you want to create a slider from your articles? Check the Articles Generator
Tutorial
- 1
-
Creating a new dynamic slide
To get started, go to any Slider Settings page and add a new dynamic slide. Select
Joomla Articles
and then pickCategory
. - 2
-
Configuring the generator
Set up your generator. Choose the settings you want. Popular options you probably want to configure: category which subcategories will be pulled, the number of slides you want to have, the ordering of the categories.
You can also click on the View Records button to see the data you'll be creating your slide with.
When you're done, click on
Add
. - 3
-
Editing the dynamic slide
After you saved your generator, you'll be redirected to the Slide Editor to set up the look of your slide. You can create your content by using variables.
Not sure what are the variables or how to use them? Learn how to work with variables.
Configuration
You can use these options to set what you want your generator to show.
Filter
Parent category
You can select one parent category from where you want to show it's subcategories.
Tags
You can select tags to filter out your categories.
Language
You can filter out the categories based on the language. Not sure what language filter to use? Check out the language filter list.
Order
Field
The field which decides the ordering of your categories.
- Title
- Ordering
- Creation time
- Modification time
- Hits
Order
The order direction.
- Ascending
- Descending
Generator Settings
Learn about the Generator Settings
at the Generator Settings documentation.
Variables
These are the available variables you can use to build your dynamic slide content in the Slide Editor.
Not sure what are the variables or how to use them? Learn how to work with variables.
- title The title of the category.
- description The description of the category.
- image, thumbnail The image of the category.
- url Category List url to the category.
- url_blog Category Blog url to the category.
- parent_title The title of the category's parent.
- parent_url Category List url to the category's parent.
- parent_url_blog Category Blog url to the category's parent.
Common issues
- 1
-
URL variable returns a wrong URL
If your URL looks like this: http://example.com/?id=123:myarticle&catid=456:catalias and it leads you to either to the homepage or to a 404 page, the problem can be that your article is not accessible. Go Menus → select one of your menus, which is visible on the frontend → Add a new menu item to it → select Articles - Single Article and select the article, which suppose to be within the slider. Save it down and take a look, if you can access the article from your own menu. If you can't, make sure, that the article is published and also check out its category, if it is published and accessible for every user role.
Once the article is accessible, clear the slider cache and the url variable will be fine!