Comments Module - nothing appears on the page

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
limestone

Comments Module - nothing appears on the page

Post by limestone »

Well, the thread title says it all, really.

I've
  • Installed the module (both at home on my home test server and on the live server)
  • Included the tag in a page (both with module="comments" and module ="Comments" (lower case c and upper case C - does it make a difference?))
  • Cleared the site cache several times at various points
  • Inserted the module tag with and without various parameters
  • And configured cmsmailer, although that shouldn't stop Comments appearing on the page
and nothing shows up on the page or in the page source.

I have tried with Comments version 1.5 and CMSMS versions 0.13-beta4 at home and 0.12.2 on the live server. Neither works.

Am I doing something stupid or is there a problem?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Comments Module - nothing appears on the page

Post by Dr.CSS »

does your tag look like...

{cms_module module='comments'}

yes it is upper/lower case sensitive, does it show up in the Extensions » Modules, did you go there and clik the install button then set the permissions...
just asking to be clear....
the mailer is only for alerting someone that there was a comment posted...
i've used the comment module a lot....
www.multiintech.com/

  mark
limestone

Re: Comments Module - nothing appears on the page

Post by limestone »

does your tag look like...

{cms_module module='comments'}
Just copy and pasted, then cleared site cache, then cleared Firefox cache, and tried it in a separate instance of IE, and still no good.
yes it is upper/lower case sensitive
Then forgive me, but shouldn't the 'module=xxxx' parameter reflect accurately the folder name of the module i.e. 'Comments'? (doesn't work either way, anyway). And do double or single quotes around parameter values have any effect? (Coz I've tried both "xxx" and 'xxx'.)
does it show up in the Extensions » Modules, did you go there and clik the install button then set the permissions
Yes to both.
the mailer is only for alerting someone that there was a comment posted
Yes, I was aware of that.
i've used the comment module a lot
In the combinations of versions I noted above?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Comments Module - nothing appears on the page

Post by Dr.CSS »

comments 1.6 on CMS Made Simple 0.13-beta4 "Canary"  try this combo...
comments 1.5 on 0.12.2  or this with new comments 1.6

switched to com. 1.6 to get the ability to add it to modules/pictures/pages... etc.
i've hacked a couple things... like News into Blog and new templates for Album with comments on the pictures...
i'm actually having a little trouble with the 1.6 ver. on the Album page, comments don't seem to like 2 calls on the same page..

  mark
BTW i have the SVN update files for the comments module zipped up ready for download here  http://www.multiintech.com/index.php?page=Round
Last edited by Anonymous on Wed May 17, 2006 11:00 pm, edited 1 time in total.
User avatar
petert
Power Poster
Power Poster
Posts: 282
Joined: Wed Feb 09, 2005 9:30 pm
Location: behind my desk

Re: Comments Module - nothing appears on the page

Post by petert »

mark wrote: i've hacked a couple things... like News into Blog
http://www.multiintech.com/index.php?ma ... eturnid=67

Fatal error: Smarty error: [in module_file_tpl:Blog;detail.tpl line 40]: syntax error: invalid attribute name: '[' (Smarty_Compiler.class.php, line 1533) in /homepages/24/d151200904/htdocs/lib/smarty/Smarty.class.php on line 1095
Mambo sucks, that's why I am here.
Now they call it Joomla, but it still sucks!

CMSMS rules!
cyberman

Re: Comments Module - nothing appears on the page

Post by cyberman »

mark wrote: comments 1.6
Hmm, found this not on Forge - where did you get from ?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: Comments Module - nothing appears on the page

Post by Ted »

You can download the daily svn build of Comments.  I'll release 1.6 when 0.13 is released (today?).
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Comments Module - nothing appears on the page

Post by Dr.CSS »

petert wrote:
mark wrote: i've hacked a couple things... like News into Blog
http://www.multiintech.com/index.php?ma ... eturnid=67

Fatal error: Smarty error: [in module_file_tpl:Blog;detail.tpl line 40]: syntax error: invalid attribute name: '[' (Smarty_Compiler.class.php, line 1533) in /homepages/24/d151200904/htdocs/lib/smarty/Smarty.class.php on line 1095

yeah i was messing with the templates and it seems like the comments only like to be one add a comment per page.....

cyberman... i picked the svn for all the latest files ...and packed them up for download ...
BTW i have the SVN update files for the comments module zipped up ready for download here  http://www.multiintech.com/index.php?page=Round

    mark
Last edited by Anonymous on Thu May 18, 2006 1:41 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Comments Module - nothing appears on the page

Post by Dr.CSS »

OK those are fixed... but the Album is having trouble now.... i want people to be able to comment on an indivdual img. and have that comment stick to the img. so i used...
{cms_module module='comments' modulename='Album' pageid=$picture->id }
which works fine, but i had an Add a Comment at the bottom of the main view of the page of multiple albums so they could comment on that page about all of the albums like "nice bunch of albums" it works fine, and when they clik on an album to view the thumbs so they can clik the thumb to view a large img. the "nice bunch of albums" comment comes with it, but when they clik a thumb to view the big image which has Add a Comment at the bottom of it the comment "nice bunch of albums" comes with it and instead of showing "nice bunch of albums" i get an error...
"Add A Comment [ DB error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

Fatal error: Call to a member function on a non-object in /homepages/24/d151200904/htdocs/lib/content.functions.php(653) : eval()'d code on line 12"

that Add a Comment is in the template as a diff. div....

       
    {cms_module module='comments' pageid=$entry->id}
   

wondering if i can use a diff. syntax to get them to play nice...
hope this is understandable... not too confusing...

  mark
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: Comments Module - nothing appears on the page

Post by Elijah Lofgren »

mark wrote: wondering if i can use a diff. syntax to get them to play nice...
hope this is understandable... not too confusing...
I haven't tried it, but you could try replacing:

Code: Select all

        <div id="img2">
     {cms_module module='comments' pageid=$entry->id}
     </div>
with:

Code: Select all

<div id="img2">
     {cms_module module='comments'  modulename='AlbumIndex' pageid=$entry->id}
     </div>
I'm guessing that may work.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Comments Module - nothing appears on the page

Post by Dr.CSS »

nope they still don't play nice...
i tried adding div#divname{display:none} into the Album template, and i get a smarty error saying smarty doesn't reconize the tag display:none

  mark
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: Comments Module - nothing appears on the page

Post by Elijah Lofgren »

mark wrote: nope they still don't play nice...
i tried adding div#divname{display:none} into the Album template, and i get a smarty error saying smarty doesn't reconize the tag display:none
Try putting {literal} {/literal} tags around it. Smarty thinks {display:none} is a tag.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
limestone

Re: Comments Module - nothing appears on the page

Post by limestone »

Just to bring this thread back to the original question - I have been doing some debugging.

It looks to me as if Modules/Comments/action.default.php procuces output on the page where the comments block is to be shown. This file does get processed but produces no output.

Any ideas?
Mudders

Re: Comments Module - nothing appears on the page

Post by Mudders »

limestone wrote: Just to bring this thread back to the original question - I have been doing some debugging.

It looks to me as if Modules/Comments/action.default.php procuces output on the page where the comments block is to be shown. This file does get processed but produces no output.

Any ideas?
Any luck figuring this out? I've got the same problem.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Comments Module - nothing appears on the page

Post by Dr.CSS »

i'm sorry what is the problem...
i've got it working... clik Link in the Got Link at bottom...
Locked

Return to “Modules/Add-Ons”