Hi, I am having a problem where adding Calguys Feedback Module and LISE. When I add Feedback smarty tag to detail template of the LISE module, I have the same comment on all items (articles).
This question was asked previously, but trying the answer didn't work for me.
viewtopic.php?t=77719&p=336232 (this thread is now locked).
Inside my detail template, I am using
{CGFeedback key1="LISEStatPlans" key2="$item=alias" action='summary' sortorder="ASC"}
and have tried many variations
{CGFeedback key1='LISEStatPlans' key2='$item->item_id' action='summary' sortorder="ASC"} etc
Any suggestions appreciated.
Cheers,
Paul
Calguys Feedback Module + LISE
Re: Calguys Feedback Module + LISE
Velden's reply on that topic is absolutely correct. You cannot (as he did not in his sample either) use quotes. Using them turns the the variable name into a string which is not what you want....
Note: The threads are automatically locked after a given amount of time to prevent topic hijacking which created a huge amount of needless noise and confusion.
Code: Select all
{CGFeedback key1=LISEStatPlans key2=$item->item_id action=summary sortorder='ASC'}
"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!
[Solved] Re: Calguys Feedback Module + LISE
Thanks, Jo, appreciate the reply. I learn a little more each time!
Velden helped me (again) to find the solution.
If you are calling the comments module, you need to apply the keys on each call. So I have the comments form, and summary comments called in the LISE detail template, so needed.
{CGFeedback key1='LISEStatPlans' key2=$item->item_id}
{CGFeedback key1='LISEStatPlans' key2=$item->item_id action=summary sortorder='ASC'}
Cheers, Paul
Velden helped me (again) to find the solution.
If you are calling the comments module, you need to apply the keys on each call. So I have the comments form, and summary comments called in the LISE detail template, so needed.
{CGFeedback key1='LISEStatPlans' key2=$item->item_id}
{CGFeedback key1='LISEStatPlans' key2=$item->item_id action=summary sortorder='ASC'}
Cheers, Paul