Home News Contact Us Forum About Us Joomla 1.0.x Demo Joomla 1.5 Demo Products F.A.Q.
Shopping Cart


Recent Events
  • 29/12/2011 Merry Christmas and Happy New Year!

    Dear visitors, our office will be closed from December 30 to January 2 due to the celebration of the New Year. You can purchase and download our products, but we can not guarantee quick answers to your questions for this period of time. Happy New Year! Your ARI Soft team.

  • 27/09/2011 ARI Smart Content v. 1.8.0

    ARI Smart Content v. 1.8.0 is ready. New version is compatible with Joomla! 1.5, 1.6 and 1.7 and it is released under GNU GPL license.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2checkout




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Number of row in arijtablesorter
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Number of row in arijtablesorter
#3205
Number of row in arijtablesorter 2 Years ago Karma: 0
Hi,

Can I add automatically a number of row with the plugin arijtablesorter ?

(I wrap query from arisqltable)

Code:



{arijtablesorter}
{arisqltable}
{arisqltablecolumns}

{arisqltablecolumn id="visiteur" alias="Visiteur"}
{arisqltablecolumn id="resultat" alias="Score"}

{/arisqltablecolumns}
{arisqltablequery}

SELECT  visiteur, resultat 

FROM table

where x=1 

order by visiteur desc limit 0,5 

{/arisqltablequery}
{/arisqltable}
{/arijtablesorter}





Can you help me ?

Regards
The administrator has disabled public write access.
 
#3206
Re:Number of row in arijtablesorter 2 Years ago Karma: 278
Hello,

Could you explain what you mean? You want to use variable for LIMIT clause in SQL query or something another?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#3207
Re:Number of row in arijtablesorter 2 Years ago Karma: 0
Hello,

No, I just want numbering automaticly rows of table with the plugin arijdatatable (not arijtablesorter, sorry).

Regards
The administrator has disabled public write access.
 
#3208
Re:Number of row in arijtablesorter 2 Years ago Karma: 278
Hello,

Unfortunately the plugin doesn't support this possibility, but you can submit feature request here and we'll implement this in one of the future releases.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#3319
Re:Number of row in arijtablesorter 1 Year, 11 Months ago Karma: 0
Hi,

I want to use DIRECTPHP to assign a number at each row of my table (1, 2, 3 ...) with arijdatatable and arisqltable

Code:


<?php

$number = 1;
?>
.
.
.
{arisqltablecolumns}

{arisqltablecolumn alias="N°" virtual="true"}
        {coltemplate} <?php echo $number; $number=$number+1;?> {/coltemplate}
{/arisqltablecolumn}
.
.
.



But at each row $number is '1' ????

Can you explain me why ?

Thank's
The administrator has disabled public write access.
 
#3320
Re:Number of row in arijtablesorter 1 Year, 11 Months ago Karma: 278
Hello,

It happens because this code will be executed only once. It doesn't contains any loops contructs.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1