(((SoLVeD))) Comments on News not showing ...?!

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm
Location: Malmö, Sweden

(((SoLVeD))) Comments on News not showing ...?!

Post by halm »

I put my site on the air last night. I am using News module as a blog with Comments module and SocialBookmarks tag.

Now, people have started commenting on my News posts. I get the email alert through CMSmailer, but there are no comments beneath the post ...?!

This is my News Detail template:

Code: Select all

{if $entry->formatpostdate}
	<div id="NewsPostDetailDate">
		{$entry->formatpostdate}
	</div>
{/if}
<h3 id="NewsPostDetailTitle">{$entry->title}</h3>

<hr id="NewsPostDetailHorizRule" />

{if $entry->summary}
	<div id="NewsPostDetailSummary">
		<strong>
			{eval var=$entry->summary}
		</strong>
	</div>
{/if}

{if $entry->category}
	<div id="NewsPostDetailCategory">
		{*$category_label*} {$entry->category}-wise
	</div>
{/if}
{*if $entry->author}
	<div id="NewsPostDetailAuthor">
		{$author_label} {$entry->author}
	</div>
{/if*}

<div id="NewsPostDetailContent">
	{eval var=$entry->content}
</div>

<div id="footerL">
      {cms_module module='comments' modulename='News' pageid=$entry->id}
      {socialBookmarks title="Spider-Howl: Illustration and Comics by Allan Haverholm -"}
</div> 

<div id="footerR">
   <div id="NewsPostDetailPrintLink"> 
      {$entry->printlink} 
   </div> 
      {if $return_url != ""} 
      <div id="NewsPostDetailReturnLink">
         {$return_url}
      </div> 
   {/if}
</div> 
I would think the comments tag is correct?
Do I need to set an area for posted comments as well?

EDIT:
Sorry,  versions:
News 2.3
Comments 1.8
Last edited by halm on Wed Sep 05, 2007 4:25 pm, edited 1 time in total.
"One measures a circle, beginning anywhere" - Charles Fort
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Comments on News not showing ...?!

Post by RonnyK »

Is the Moderate-check-box marked on the "Content -> Comments -> Options". If so, you have to approve the single comments before they will appear.

Ronny
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm
Location: Malmö, Sweden

Re: Comments on News not showing ...?!

Post by halm »

Moderation is off.

Plus, when I access the Comments section in admin area, no comments are found. Could it be some url to database that was broken when I moved site from test directory?

I also tried updating Comments module to 1.8.2, but unfortunately it didn't help.
"One measures a circle, beginning anywhere" - Charles Fort
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm
Location: Malmö, Sweden

Re: Comments on News not showing ...?!

Post by halm »

Saw Mark's reply to another post - made the

Code: Select all

modulename='News'
call inside {comments} tag lowercase, which did the trick  ::)

Really annoying that such details can make such a mess :-\

Thanks to Ronny for trying and to Mark for helping without knowing! :-*
"One measures a circle, beginning anywhere" - Charles Fort
Post Reply

Return to “Modules/Add-Ons”