8 years 2 months ago
Hi Josh,
Basically the Accordion needs the title to be used as the trigger for the accordion. That's the item that makes sense when it comes to showing a list of topics in a faq as an example.
The category content source is used to reference the actual categories and not the items themselves eg cars vs ford fiesta, porsche 911 etc
So to display items based on their category you need to select Joomla as the source then on the content tab select the categories option and you can filter items based on their category.
If I wanted to display a list of items that were not tied to content I would just add the list to the content item int he introtext and then use the title > introtext as tags in the zentools layout area.
If you wanted to display a list of content items per category in an accordion you would need to choose Joomla categories as the source. Add title and introtext to the layout and then in the description for the category add the list of items there.
If you wanted to automate adding items from a category then you could load another module in the category description using the {loadposition mypositon} syntax. That would load any module assigned to the myposition position where you could for instance have a Zentools module with a list layout set to display the last 5 items for that category. It's a little bit inception but that may work for what you need.
Your comment has though made me think of the grouped layout which group;s item per category in a grid. There is no reason why we cant add an accordion layout like that but that wont happen in the short term. ive added it to my todo list.
Thanks!