-
AuthorPosts
-
wombat1 Friend
wombat1
- Join date:
- March 2010
- Posts:
- 117
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 38
- Thanked:
- 11 times in 1 posts
June 27, 2010 at 9:06 am #152086My client just pointed out to me that the articles in the Front page do not show the comment counters as do the rest of the internal pages that use extracts. In other words if one views a category page one will see the amount of comments after the intro text to each article, however this is not so on the front page.
I realise the internal pages are Jooma blog layouts and the front page is using the JA News and News FP modules, so my question is how to set the articles in these modules to show comments quantities after the extracts to maintian consistency throughout thes site. This is of vital important to my current project since the popularity of the site is centred around the activity within the comments area and if this minimal data cannot be seen on the front page it puts both my clients and myself in a bind.
I find it hard to explain to my client why this is not the default setup, but i cant seem to find where to adjust this or if it is even possible. If it is not some option i am missing due to lack of sleep perhaps someone could adivse as to how to edit the corresponding php file to include this much needed hack.
Thanks in advance for any help.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 1, 2010 at 3:48 am #348605hello !
you open the file modulesmod_janews2tmplblog_item.php and find the fillowing code:
[PHP]
<?php
if($maxchars > strlen($row->introtext1)) {
echo $row->introtext;
} else {
echo $row->introtext1;
}
?>
[/PHP]
replace:
[PHP]
echo $row->introtext;
[/PHP]With the ja news fp module can display number of comment, may be it’s from css bug, so that it could not display on your site. pls give me the link to your site
GOod luck
wombat1 Friendwombat1
- Join date:
- March 2010
- Posts:
- 117
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 38
- Thanked:
- 11 times in 1 posts
July 2, 2010 at 3:10 am #348741Hi teinhc
This one didnt work for me.
It just made the intro text amount longer, but still no sign of comments.Thanks.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 2, 2010 at 8:12 am #348792Pls try to submit a ticket, our developer this, because the ja news2 is work well with j comment component after modified
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
July 9, 2010 at 7:42 am #349425Hi wombat1,
Our plugin plg_disqus_debate_echo is not supported to display “comment count” on front page.
It only works on category and section view.Best regard,
ThanhNV -
AuthorPosts
This topic contains 5 replies, has 3 voices, and was last updated by Thanh Nguyen Viet 14 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum