Page 1 of 1
Same comments everywhere
Posted: Sat Jan 06, 2007 2:52 pm
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...

Re: Same comments everywhere
Posted: Sat Jan 06, 2007 4:44 pm
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...
Re: Same comments everywhere
Posted: Sat Jan 06, 2007 6:46 pm
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!
Re: Same comments everywhere
Posted: Sat Feb 03, 2007 6:13 am
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!
Re: Same comments everywhere
Posted: Mon Feb 26, 2007 7:02 pm
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