×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Write comment (0 Comments) not showing on some

Write comment (0 Comments) not showing on some 15 years 8 months ago #3430

  • Mark
  • Mark's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Just installed this component, and so far I love it! (For the past hour)

One problem I noticed is that the Write comment and number of comments doesn't show up on every post. I'm not excluding any categories or posts of any kind. It looks like it isn't showing up on my front page, or as the lead article on any of my blog style pages. But it does show up on the remaining articles.

I would like to get the write comment to show up on every article, including the front page, without having to go to the article page itself. Of course, they should read the full article before posting a comment, but doesn't the Write Comment link take it to the full article page?

Anyway, any help would be appreciated.

My website: Forex Mastery Blog

Thank you very much.

Also, I was wondering how the comments work? Do they create additional pages that may be indexed by search engines? Or are they attached onto the article page and included as a part of it?

Write comment (0 Comments) not showing on some 15 years 8 months ago #3431

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Look at the settings under layout - there you have few options about read more which are going to help you.

About the second question. The comments are stored in the database and are showed under the article. So when google indexes the article, it is going to index and the comments.

Write comment (0 Comments) not showing on some 15 years 8 months ago #3454

  • Mark
  • Mark's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
I've already tried the read more options, and various combinations of it. I think it might have something to do with my template, because when I switch my template to the standard milkyway template, it appears to work fine. I just cant figure out what's different about it.

Well, thanks for trying anyway. I appreciate your help. And this is a great component, so far. :)

Write comment (0 Comments) not showing on some 15 years 8 months ago #3456

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
aha! That is an interesting hint.

Please open your template and then check if you have the following file.
html->com_content->article->default.php

If you have this file, please open it and look for afterDisplayContent. If you don't have this, then it explains everything.
At the end of the file you should add:
<?php echo $this->article->event->afterDisplayContent; ?>

if you have afterDisplayContent, then I don't know what the problem could be.

Write comment (0 Comments) not showing on some 15 years 8 months ago #3459

  • Mark
  • Mark's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Yup. It's there. I don't know what the problem is either. However, it isn't going to break me. I'll just live with it. They can post a comment and see the comments if they go to the Read More link anyway.

Thank you for your quick help. I truly appreciate it.

Mark

<?php echo $this->article->event->beforeDisplayContent; ?>

<?php if ($this->params->get('show_url') && $this->article->urls) : ?>
<span class="small">
<a href="<?php echo $this->article->urls; ?>" target="_blank">
<?php echo $this->article->urls; ?></a>
</span>
<?php endif; ?>

<?php if (isset ($this->article->toc)) :
echo $this->article->toc;
endif; ?>

<?php echo JFilterOutput::ampReplace($this->article->text); ?>

<?php echo $this->article->event->afterDisplayContent; ?>

</div>

Write comment (0 Comments) not showing on some 15 years 8 months ago #3460

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Are you using 404SEF or another SEF component?

Write comment (0 Comments) not showing on some 15 years 8 months ago #3461

  • Mark
  • Mark's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Yes, sh404sef.

Write comment (0 Comments) not showing on some 15 years 8 months ago #3462

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Would you please disable it for a second and check if the problem is still there?

Write comment (0 Comments) not showing on some 15 years 8 months ago #3464

  • Mark
  • Mark's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Yes, the problem still exists when I disable the sef stuff.

But like I said, it is unique to my template apparently since it works with the standard. I don't want to waste your time. This isn't a huge issue for me.

But again, thank you for trying! You rock!

Mark
  • Page:
  • 1
Time to create page: 0.114 seconds