Page 1 of 1

[SOLVED] CGFeedback entries not calling correctly

Posted: Tue May 09, 2017 3:50 pm
by CapereSpiritum
Hello
I've a problem getting CGFeedback 1.8.3 to work correctly across different modules.

In news, it works fine using;
{CGFeedback key1="News" action='summary'} to call the feedback

When I try to do the same in entries using Company Directory, I either get all comments from all module related content or none at all.

Tried this;
{CGFeedback key1='Company Directory' key2=$content_id action='summary' sortorder="ASC"}
{CGFeedback key1='companies' key2=$entry->company_name action='summary' sortorder="ASC"}
No results shown

and

{CGFeedback key1='companies' key2=$content_id action='summary' sortorder="ASC"}
No results shown


This;
{CGFeedback action='summary' sortorder="ASC"} calls all feedback entries.

I'm struggling with the correct key parameters.

Any suggestions?
CMSMS Version 2.1.6
Current PHP Version (phpversion) 5.6.30

Installed Modules
AdminSearch 1.0.2
Album 1.11
CGExtensions 1.54.1
CGFeedback 1.8.3
CGSimpleSmarty 2.1.6
CGSmartImage 1.21.8
CMSContentManager 1.1.4
CMSMailer 6.2.14
CompanyDirectory 1.23.4
DesignManager 1.1.1
FileManager 1.5.2
FormBuilder 0.8.1.6
JQueryTools 1.3.9
MicroTiny 2.0.3
ModuleManager 2.0.5
Navigator 1.0.3
News 2.50.6
Search 1.50.2

Re: CGFeedback entries not calling correctly

Posted: Tue May 09, 2017 4:42 pm
by CapereSpiritum
Sorted it.

Spotted {get_template_vars} in another post. Added it to my template and got the right parameters.

Added the call below
{CGFeedback key1='CompanyDirectory' key2=$entry->company_name action='summary' sortorder="ASC"}

And parameters to the Feedback form
{CGFeedback key1='CompanyDirectory' key2=$entry->company_name}