Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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?

Problem with sorting
(1 viewing) (1) Guest
Go to bottomPage: 123
TOPIC: Problem with sorting
#42848
Problem with sorting 10 Years, 11 Months ago Karma: 0
Hello,

We are having a problem with sorting in our Data Table. Here is the table and the problem lies in the columns where there are negative, fractional values. If you try to sort the table either does not respond at all (% fat column), or sorts in an incrrect way (last column).
Can you please help us?
The administrator has disabled public write access.
 
#42850
Re:Problem with sorting 10 Years, 11 Months ago Karma: 748
Hello,

Use . instead of , as divider for fractional numbers. , can be replaced to . in the following way:

- set "Columns settings -> ID" parameter to DPR and "Columns settings -> Format" parameter to the following value:

{$value|replace:,:.}

Regards,
ARI Soft
The administrator has disabled public write access.
 
#42859
Re:Problem with sorting 10 Years, 11 Months ago Karma: 0
Hi,
Thanks a million, that helped. I used your suggestion for every ciolumn with fractions and it worked perfectly.

Now I have a different obstacle, i know that this was propably explained before but I am really new to this and don't really know php or html very well.
The thing is that I need every row to be a link to a page and in every row I need to insert an image in every row as well.

Could you tell me how to do that step by step in a very simple way?
The administrator has disabled public write access.
 
#42860
Re:Problem with sorting 10 Years, 11 Months ago Karma: 748
Could you explain in more details what links and images do you want to show? Data in your database (or CSV) contains links to pages and images and you want to convert them to HTML images and hyperlinks or do you need something another?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#42862
Re:Problem with sorting 10 Years, 11 Months ago Karma: 0
OK, so we would like our table to have small thumbnails like in this page (Im quoting it since it was discussed here in another topic):
ginatnoy.co.il/index.php?sSearch=%D7%A6%D7%9C&option=com_content&view=article&id=553
Just like there we will add an additional column in which we will have the pictures, which will be links to another subpagepage.
We are using csv. And I don't know how to input the link to the picture, should it be typed in the csv file or should I somehow 'attach' it in the module.
The administrator has disabled public write access.
 
#42863
Re:Problem with sorting 10 Years, 11 Months ago Karma: 748
It is possible to convert links from a CSV file to HTML entities. For example if "Img" column in CSV file contains links to images, set "Columns settings -> ID" parameter to Img value and "Columns settings -> Format" parameter to the following value:

<img src="{$value}" />

If "CompanyLink" columns from a CSV file contains links to pages, set "Columns settings -> ID" parameter to CompanyLink value and "Columns settings -> Format" parameter to the following value:

<a href="{$value}">Go to page</a>

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