Using the current version of both CMSMS and LISE.
Using LISE I am trying to echo the Category name and alias into my summary template.
{foreach from=$items item=item}
<h3>{$item->title}</h3>
<p>{$item->hotel_location}</p>
{Category alias and name of this item would go here}
{/foreach}
I have trawled the internet for a solution to this without any luck.
Thanks you for giving this question your attention.
Best,
Neil
LISE Categories
Re: LISE Categories
Look in the default templates, there is sample code in them for that.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: LISE Categories
Hi Jo,
this was the first place I looked but found no solution to placing my specific Category title in a summary template.
Best,
Neil
this was the first place I looked but found no solution to placing my specific Category title in a summary template.
Best,
Neil
Re: LISE Categories
A little progress.
Reviewing the supplied templates I have figured out how to display the full list of categories inside my summary template.
I am still hoping to find out how to add the Category Name to each item in my loop of summary items.
Summary Template code so far:
{if $items|@count > 0}
<div>{LISEHotelManager action="category" }</div>
<ul class="booking-list">
{foreach from=$items item=item}
<h2>{Category Value to go here}</h2>
<h5 class="booking-item-title">{$item->title}</h5>
<p>{$item->hotel_address}</p>
<p>{$item->Description}</p>
{/foreach}
{/if}
Thank you!
Reviewing the supplied templates I have figured out how to display the full list of categories inside my summary template.
I am still hoping to find out how to add the Category Name to each item in my loop of summary items.
Summary Template code so far:
{if $items|@count > 0}
<div>{LISEHotelManager action="category" }</div>
<ul class="booking-list">
{foreach from=$items item=item}
<h2>{Category Value to go here}</h2>
<h5 class="booking-item-title">{$item->title}</h5>
<p>{$item->hotel_address}</p>
<p>{$item->Description}</p>
{/foreach}
{/if}
Thank you!