Help With CGFeedback not posting comments

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
ittsmee2
Forum Members
Forum Members
Posts: 23
Joined: Sat Nov 19, 2005 12:42 am

Help With CGFeedback not posting comments

Post by ittsmee2 »

I am having problems getting the CGFeedback module to accept comments.  The form shows up, but no comments are ever registered or show up.

This is my code:

Code: Select all

{CGFeedback action='summary' sortorder="ASC" key1="CGBlog" key2=$entry->id key3=$category.name policy="session"}
{CGFeedback key1="CGBlog" key2=$entry->id key3=$category.name}
You can see the form and test it here:
http://thegreesons.com/gb/5/69/Tony-s-Blog-Test/
mjrumble
Forum Members
Forum Members
Posts: 19
Joined: Tue Sep 15, 2009 7:59 pm

Re: Help With CGFeedback not posting comments

Post by mjrumble »

Try adding {CGFeedback} on the line before to see what happens.
WebGirl

Re: Help With CGFeedback not posting comments

Post by WebGirl »

I have the same problem with CMSMS 1.7.1 and CGFeedback 1.1. The comments stopped appearing on the live pages, I've changed the tag a dozen times, but haven't found a solution yet :-(

Still trolling through the forums trying to find what could be causing CGFeedback 1.1 to create problems.

I also ugraded CGExtensions.
Peciura

Re: Help With CGFeedback not posting comments

Post by Peciura »

Usually blog entry belongs to multiple categories. When using variable {$category} you are not sure which category is used. Do you really need that key ? In general you are dealing with an array instead of string.
madsny
Forum Members
Forum Members
Posts: 31
Joined: Mon Jul 14, 2008 2:46 pm

Re: Help With CGFeedback not posting comments

Post by madsny »

Damn i have the same problem, though i was going mad here since it worked on the old CMSMS i had (think it was 1.4 or something).

something is conflicting with the new version of CMSMS (using 1.7.1)
please mr. CG fix :D
panthus

Re: Help With CGFeedback not posting comments

Post by panthus »

Works fine for me …

Even the key3="$category.name" works, but for the reason Peciura mentioned it only shows as "Array.name" in the backend listing. The comment itself shows up on both frontend and backend.

I'm using:

CMSMS 1.7.1
CGBlog 1.3.2
CGFeedback 1.1
CGSimpleSmarty 1.4.5
CGExtensions 1.19
madsny
Forum Members
Forum Members
Posts: 31
Joined: Mon Jul 14, 2008 2:46 pm

Re: Help With CGFeedback not posting comments

Post by madsny »

i don't get it, i used static key's well synami for key2 using the CGblog's id like in the example, but nothing show's up..  ???
WebGirl

Re: Help With CGFeedback not posting comments

Post by WebGirl »

I finally got it to work, with some help from another thread :)

Here's what I put in my template:
{CGFeedback key1="News" key2=$page_name action='summary'}


{CGFeedback key1="News" key2=$page_name policy='session'}
More info :
key1="News" -- "News" can be whatever you want it to be, I have this on another template and called it "Comments"
key2=$page_name -- I wanted to know which page the person commented on, so $page_name had to be included

Putting this in the first line of code -- action='summary' -- means the Summary of responses appears ABOVE the feedback form.

I hope this helps - good luck!
madsny
Forum Members
Forum Members
Posts: 31
Joined: Mon Jul 14, 2008 2:46 pm

Re: Help With CGFeedback not posting comments

Post by madsny »

hey works for me too, thanks man. thou im not sure if this was the reason or some other changes to my code, im sure i tried the action='summary' before without any luck, anyway it works.

a small trick for all you CGbloggers out there, if you have a lot of entries and/or categories you might considere parsin the blog title and category to the keys.

this is how my setup is. work great, yes there could be more soom in the admin for long key names, but hey now i can filter all comment's and make some sense out of them :)

{CGFeedback key1=$entry->categories[0].name key2=$entry->title key3=$entry->id policy='session'}
{CGFeedback key1=$entry->categories[0].name key2=$entry->title key3=$entry->id action='summary'}

hope it helps anyone. :)
WebGirl

Re: Help With CGFeedback not posting comments

Post by WebGirl »

so pleased it now works!

bravo!

ok - what you now need to do is go to the first message in this thread, and EDIT the Subject line to read:

SOLVED: Help With CGFeedback not posting comments

have a great weekend!
panthus

Re: Help With CGFeedback not posting comments

Post by panthus »

madsny wrote:
{CGFeedback key1=$entry->categories[0].name key2=$entry->title key3=$entry->id policy='session'}
{CGFeedback key1=$entry->categories[0].name key2=$entry->title key3=$entry->id action='summary'}

hope it helps anyone. :)
Hey thanks, I'll try that sometime.  :)

I also use the title field of the submit form as a hidden field that contains the title of the entry that the comment belongs to.

Unfortunately you can't really sort by title in the backend, you can only filter for specific titles (or words in them). But still, it does make it a little easier keeping track of things.

title}"/>
Post Reply

Return to “Modules/Add-Ons”