Calguys Feedback Module + LISE

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
pwg
Forum Members
Forum Members
Posts: 191
Joined: Tue Aug 01, 2006 1:48 am
Location: Sydney

Calguys Feedback Module + LISE

Post by pwg »

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
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1922
Joined: Mon Jan 29, 2007 4:47 pm

Re: Calguys Feedback Module + LISE

Post by Jo Morg »

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....

Code: Select all

{CGFeedback key1=LISEStatPlans key2=$item->item_id action=summary sortorder='ASC'}
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.
"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!
pwg
Forum Members
Forum Members
Posts: 191
Joined: Tue Aug 01, 2006 1:48 am
Location: Sydney

[Solved] Re: Calguys Feedback Module + LISE

Post by pwg »

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
Post Reply

Return to “Modules/Add-Ons”