I have two lists, one with a product category and a second one with its items. The item list has a dbjoin back to the category list.
When I have a custom list template setup copied from the div template with group by setup and all groups are set to collapse. So far so good, looks great! The structure is just like the Joomla articles and categories and I want to show the 'category description' just under the 'category title'. But in this case the category title is the group by heading in the list template and the description field is a separate element in the categories list.
So it would look like this when group by is open.
> Category Title 1
> Category Title 2
--category description--
item 1 item 2 item 3 item4
> Category Title 3
> Category Title 4
Can I use $group ask my pk to query the description element from the db?
When I have a custom list template setup copied from the div template with group by setup and all groups are set to collapse. So far so good, looks great! The structure is just like the Joomla articles and categories and I want to show the 'category description' just under the 'category title'. But in this case the category title is the group by heading in the list template and the description field is a separate element in the categories list.
So it would look like this when group by is open.
> Category Title 1
> Category Title 2
--category description--
item 1 item 2 item 3 item4
> Category Title 3
> Category Title 4
Can I use $group ask my pk to query the description element from the db?