×

Notice

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

TOPIC: Want to take out number of comment (0 Comments)

Want to take out number of comment (0 Comments) 15 years 4 months ago #1869

  • Patrick Toulze
  • Patrick Toulze's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0
I finish to install the component and I’m really please with it. Everything working perfecly... Thanks
However I have a major issue.
I need to take out the number of comments that appear on the Comments button —> (0 Comments)

Please help me on this one, I need to present to client.....
;)

Want to take out number of comment (0 Comments) 15 years 4 months ago #1878

  • Patrick Toulze
  • Patrick Toulze's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0
Ok Done.

1—> remove or comment out in comment.class.php line 749. 750

/* Comment out
$html = str_replace('{READON_COUNT}', $number, $html);
$html = str_replace('{READON_COMMENTS}', $this->comments($number), $html);
*/

2—> Take out (line 16) ({READON_COUNT} {READON_COMMENTS}) of the index.html (in my case is: default-emotop/index.html use for your template (can be another index.html)

Original code:
{readon}
<div class='write_comment'>
<a href="{READON_LINK}#JOSC_TOP" class="readon">{READON_WRITE_COMMENT} ({READON_COUNT} {READON_COMMENTS})</a>
</div>

Modified code:
{readon}
<div class='write_comment'>
<a href="{READON_LINK}#JOSC_TOP" class="readon">{READON_WRITE_COMMENT} </a>
</div>

Want to take out number of comment (0 Comments) 15 years 4 months ago #1890

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Happy you have fixed it :)
I believe there was the same thread in forum several months ago, but doesn't matter - main thing you are happy :)
Have fun!
  • Page:
  • 1
Time to create page: 0.133 seconds