Page 1 of 1

Calguys Feedback Module + LISE

Posted: Wed Jan 24, 2018 12:42 am
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

Re: Calguys Feedback Module + LISE

Posted: Wed Jan 24, 2018 9:51 am
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.

[Solved] Re: Calguys Feedback Module + LISE

Posted: Wed Jan 24, 2018 8:08 pm
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