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

Login with username, password and session length

JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: Jcomments into Mosets
Pages: [1]   Go Down
  Print  
Author Topic: Jcomments into Mosets  (Read 4552 times)
0 Members and 2 Guests are viewing this topic.
testpiloot
Newbie
*

Karma: 0
Offline Offline

Posts: 9


Email
« on: December 16, 2009, 04:33:34 »

Hi there,

How could I get Jcomments into Mosets,
Without overriding the existing review system?
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #1 on: December 16, 2009, 04:44:38 »

You can try to follow existing instruction but instead replacement some code you need only add new one.
Logged

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

Karma: 0
Offline Offline

Posts: 9


Email
« Reply #2 on: December 16, 2009, 19:12:42 »

I  tried to do this, I only got errors...

Where should I paste what codes if I don't want to replace the existing review method?

And if you follow the toturial you should delete certain codes, what about them?
Logged
testpiloot
Newbie
*

Karma: 0
Offline Offline

Posts: 9


Email
« Reply #3 on: December 17, 2009, 01:42:53 »

plz?
Logged
testpiloot
Newbie
*

Karma: 0
Offline Offline

Posts: 9


Email
« Reply #4 on: December 24, 2009, 00:03:51 »

I've fixed it.Grin

The only thing I did:

adding the following code to the component/com_mtree/templates/m2/page_listing.tpl.php

underneath the line:
Code:
($ this-> mt_show_review) omvatten $ this-> loadTemplate ( 'sub_reviews.tpl.php')

I've placed:
Code:
  global $mainframe;
  $comments = $mainframe->getCfg('absolute_path') . '/components/com_jcomments/jcomments.php';
  if (file_exists($comments)) {
    require_once($comments);
 
    $link_name = $this->fields->getFieldById(1);
    $link_name = $link_name->getOutput(1);
?>
<center>
<div class="mtframe">
    <?php echo JComments::showComments($this->link_id'com_mtree'$link_name);?>
</div>
</center>
<?php
  
}
?>

<?php

It seems to work right. Could this also work if there're more than 1000 listings?
Logged
testpiloot
Newbie
*

Karma: 0
Offline Offline

Posts: 9


Email
« Reply #5 on: December 24, 2009, 00:06:24 »

If users have givin their comment on a listing. That comment is like more to the right than centered.

How could I get this centered? So NOT the where you type the comment. But where the comment is after you've typed it.
Logged
testpiloot
Newbie
*

Karma: 0
Offline Offline

Posts: 9


Email
« Reply #6 on: December 25, 2009, 07:31:55 »

Well I'm not getting any help from u, Smart?

Besides after 12 comments have been given, my website gets a fatal error in jcomments. I'll post the exact error tomorrow or so.
Logged
testpiloot
Newbie
*

Karma: 0
Offline Offline

Posts: 9


Email
« Reply #7 on: December 28, 2009, 06:05:34 »

I told you the comment list was more to the right than to the left. So not centered. I have fixed this:

go to: com_jcomments/tpl/default/style.css

search for:



Code:
/* Comments list */
#comments .comments-list {margin-left: 20px;height: 1%}

Change to:
Code:
/* Comments list */
#comments .comments-list {margin-left: 0px;height: 1%}

Besides the fatal error has been vanished, I do not know why....
Logged
testpiloot
Newbie
*

Karma: 0
Offline Offline

Posts: 9


Email
« Reply #8 on: December 28, 2009, 06:22:35 »

Well I was kind off hoping to get some help from you though...

How could I remove the curves (I've marked two of them with red). So I just want the comment list to be square and not bold; curved..

Check the image here.

Thanks in advance. Grin
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #9 on: December 28, 2009, 21:34:13 »

Excuse me, but I physically can not answer all the questions on the forum and engage in modifications party components. I have enough work without it. For all the operation JComments I try to answer as soon as they appear. But the issues of integration with third-party extensions require more time.

Concerning all questions about JComments style I can suggest you to use FireBug - very helpful plugin for FireFox browser. It shows styles for any element of page so you can quickly found interesting you style.

Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: Jcomments into Mosets
 
Jump to: