Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    General discussion    Topic: View all comments at article load
Pages: [1]   Go Down
  Print  
Author Topic: View all comments at article load  (Read 11680 times)
0 Members and 1 Guest are viewing this topic.
alekals
Newbie
*

Karma: 0
Offline Offline

Posts: 4


« on: December 01, 2009, 17:09:08 »

Hi sorry for my english.

I have installed jcomments and work fine.

I see the link "view comments" at the bottom of my article and if i click i view comments.


I can see the comments at load category without user click on link?
Have you an idea to work this ?


Thanks for all reply.
Alessio
« Last Edit: December 03, 2009, 16:45:58 by alekals » Logged
alekals
Newbie
*

Karma: 0
Offline Offline

Posts: 4


« Reply #1 on: December 03, 2009, 14:09:19 »

0 reply.  Sad

I explained bad my problem?

Logged
alekals
Newbie
*

Karma: 0
Offline Offline

Posts: 4


« Reply #2 on: December 03, 2009, 16:45:20 »

fixed problem.  Grin


For other view file:
plugins/content/jcomments.php

(238)
# old line                  if ($view == 'article'){

(238)
#new line
if ($view == 'article' || $view='category') {


(221)
#comment return ''
# return'';

Small fix i dont have any Guarantee .
Logged
smart
Administrator
Hero Member
*****

Karma: 187
Offline Offline

Gender: Male
Posts: 1883



WWW
« Reply #3 on: December 03, 2009, 20:57:33 »

This is very strange fix. Your condition will always return True because $view = 'category'... At first you need change = to == in this block. But it causes displaying more than one comments form on the page and comments will not work properly... So it is not good idea...
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
alekals
Newbie
*

Karma: 0
Offline Offline

Posts: 4


« Reply #4 on: December 04, 2009, 13:59:36 »

yes yes..
The error is only to copy code to browser.
On my site code is ==   SmileySmiley

>> But it causes displaying more than one comments form on the page and comments will not work properly... So it is not good idea...


I can test new mod for fix this problem Smiley
« Last Edit: December 04, 2009, 14:16:36 by alekals » Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: View all comments at article load
 
Jump to: