Same comments everywhere

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

Same comments everywhere

Post by baselve »

I'm trying to make a blog with the news and comment module. Unfortunately the blog module of mark doesn't work with my version. Therefore I was trying to make the blog myself...

I included the {cms_module module="comments" } tag in the detail template of the news module, now I get by every newspost the same comments (they're not seperate for each newstopic). I searched the forum but what I discovered is that include the tag in the detail template was the right thing... help...  >:(
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Same comments everywhere

Post by Dr.CSS »

The blog module needs Rowcount changed to Recordcount if you installed it it will give error on what line of what file it needs changed note it's case sensitive R/r upper lower case needs to be the same...

At the bottom of the news detail template the comment tag needs to be...
{cms_module module="comments" modulename="News"  pageid=$entry->id emailfield=1 websitefield=1 spamprotect=1 notify="the email add. you want a notice of added comment sent to"}

modulename="News" tells it what module it's being used with...

pageid=$entry->id tells it which page the comment is on so it won't show up in every page...

emailfield=1 lets them put their add. in which will be shown as their name being the link, not readable by spam bots...

websitefield=1 for adding website add....

spamprotect=1 makes them have to put code from image in to be able to submit, stops spam bots...
baselve

Re: Same comments everywhere

Post by baselve »

Thanks for your help, with the blog module I get an error on line 530 of the file Blog.module.php. The code on 530 is: class BlogModule extends CMSModuleContentType
I changed all RowCount to RecordCount but with no succes, still the same error message.

Your comment tag was very usefull, it works now!! Hope you can still help me with your blog module!
WebGirl

Re: Same comments everywhere

Post by WebGirl »

Hi there,

Instead of using Mark's Blog module, just use the News module with Comments.

I'm using it as a Blog, and Article database, an Online Interview database and a Newsletter database.

Each one is set up as a Category with a different name.

Each Category can have many sub-categories - it's working perfectly, and all Comments stay where they're supposed to :)

Simply create a new Style for your blog and put it wherever you'd like it.

Hope this helps!

Hey Mark - happy trails!! Let us know where you are!
ankel
Forum Members
Forum Members
Posts: 16
Joined: Tue Mar 28, 2006 10:33 am

Re: Same comments everywhere

Post by ankel »

Hello,

Thank you for module comments :) Sorry about my english

Is there any function in comments module to show off latest comments in global mode (i.e. on first/main page)?
Maybe with link to this comments/articles ?

Greetings
Marek
Locked

Return to “Modules/Add-Ons”