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

Login with username, password and session length

JoomlaTune Support Forum    Other extensions    Modules    Topic: JComments Top Posters module display row with alternate background
Pages: [1]   Go Down
  Print  
Author Topic: JComments Top Posters module display row with alternate background  (Read 3371 times)
0 Members and 1 Guest are viewing this topic.
zunix
Newbie
*

Karma: 0
Offline Offline

Posts: 5


« on: February 14, 2011, 00:14:26 »

Hi guys.
How can i change Top posters comments module to display row with alternate background color?


I have modify mod_jcomments_top_posters.php in line # 170
<li class="<?php echo ($i % 2 ? 'even' : 'odd');?>">

and in css at  template file.

i have put next style:

li.jc_top_posters.even
{
   background-color:#FFF;
   color:#efefef;
}
li.jc_top_posters.odd
{
   background:#efefef;
   color:#FFF;
}


But not working for me.
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #1 on: February 14, 2011, 00:28:34 »

You have made a mistake. You should use:

Code: (css)
ul.jc_top_posters li.even
{
   background-color:#FFF;
   color:#efefef;
}
ul.jc_top_posters li.odd
{
   background:#efefef;
   color:#FFF;
}

BTW this is good idea and I'll include this modification in the next module version.
Logged

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

Karma: 0
Offline Offline

Posts: 5


« Reply #2 on: February 14, 2011, 16:53:57 »

Still not working. Background make to whole UL. Sad  Huh

You have made a mistake. You should use:

Code: (css)
ul.jc_top_posters li.even
{
   background-color:#FFF;
   color:#efefef;
}
ul.jc_top_posters li.odd
{
   background:#efefef;
   color:#FFF;
}

BTW this is good idea and I'll include this modification in the next module version.
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #3 on: February 15, 2011, 02:47:26 »

I've just released JCommenst Top Posters 1.2. This version contains these styles definition and new parameter which allows to disable using module's embeded CSS-styles. New module version is availabe for download from our downloads section. You can also see demo of this module on our demo site: demo.joomlatune.com.
Logged

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

Karma: 0
Offline Offline

Posts: 5


« Reply #4 on: February 15, 2011, 06:49:32 »

wow great! nice job. But where i can download it? Please share the link Smiley

I've just released JCommenst Top Posters 1.2. This version contains these styles definition and new parameter which allows to disable using module's embeded CSS-styles. New module version is availabe for download from our downloads section. You can also see demo of this module on our demo site: demo.joomlatune.com.
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #5 on: February 15, 2011, 15:15:11 »

As I wrote before this module is available in our download section: JComments Top Posters 1.2
Logged

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

Karma: 0
Offline Offline

Posts: 5


« Reply #6 on: February 15, 2011, 15:27:16 »

Here just Component, Latest comments, but not aviable link to Jcomments top posters Sad
As I wrote before this module is available in our download section: JComments Top Posters 1.2

Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #7 on: February 15, 2011, 17:23:38 »

You should be a bit more attentive, see screenshot...


* joomlatune-jcomments-downloads.png (27.92 KB, 708x391 - viewed 290 times.)
Logged

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

Karma: 0
Offline Offline

Posts: 5


« Reply #8 on: February 15, 2011, 23:12:11 »

Ops yeah you are right. Thanks
You should be a bit more attentive, see screenshot...
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    Other extensions    Modules    Topic: JComments Top Posters module display row with alternate background
 
Jump to: