LISE Categories : Capture Items Inside Category Template
Posted: Mon Oct 24, 2016 11:26 pm
Much like martinpescador's post, I'm too am having a hard time trying to understand how to group LISE items by Category.
I've modified the default Category template in an attempt to have the Category Name as a header and the Category Description as a paragraph below it. My goal is to then create a table of all items that apply to each of the Categories - but I cannot seem to figure out how to capture the list of items.
I've attempted to implement a command with no luck.
I've also attempted to call a LISE Detail template from within the Category template with no luck.
The module help suggests a couple (optional) parameters that can be used, but there is no example of how to use them. In particular, I would assume something like might be useful - but no idea how. Or something like might be used to attach the items to the Category template - but again... I have no idea how to implement it correctly.
Can someone please provide a bit of information, or point towards an example, on how the Category template can be used with the Items list? I'm pretty sure this isn't just a matter of Smarty variable scope...
I've modified the default Category template in an attempt to have the Category Name as a header and the Category Description as a paragraph below it. My goal is to then create a table of all items that apply to each of the Categories - but I cannot seem to figure out how to capture the list of items.
I've attempted to implement a
Code: Select all
{foreach from=$items item=item}
I've also attempted to call a LISE Detail template from within the Category template with no luck.
The module help suggests a couple (optional) parameters that can be used, but there is no example of how to use them. In particular, I would assume something like
Code: Select all
template_detail="default"
Code: Select all
show_items="true"
Can someone please provide a bit of information, or point towards an example, on how the Category template can be used with the Items list? I'm pretty sure this isn't just a matter of Smarty variable scope...