LISE : Get Category Name of Item
-
- Forum Members
- Posts: 43
- Joined: Wed Dec 09, 2015 11:16 pm
LISE : Get Category Name of Item
Can someone please help me understand how to capture the Category Name of an item in LISE instead of the Category Index number?
Re: LISE : Get Category Name of Item
As per LISE help:
Where $id would be the id variable of the category and print_r will give you a clue of what are the properties of the object available to be used by Smarty.
Note: LISE does not give you the "Category Index number"... it will give you an unique id instead.
Code: Select all
{LISELoader item='category' identifier='category_id' instance='LISEInstance' value=$id assign='current_category_obj'}
{$current_category_obj|print_r:1}
Note: LISE does not give you the "Category Index number"... it will give you an unique id instead.
"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!