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?

PHP code in format?
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: PHP code in format?
#53674
Re:PHP code in format? 9 Years, 8 Months ago Karma: 0
Thanks, the new version and the updated format worked.

One more question:

I want to be able to sort by the date column, but currently when using the date_format format, it just seems to do a string sort. I have tried changing the field type to "Date" but it always sets it to "HTML" regardless of which of the Date types I select. The Date types seem unselectable.

The field, as mentioned, is a numeric field that has an Epoch timestamp number in it. I'm using the format previously mentioned to turn it into a valid date.
The administrator has disabled public write access.
 
#53676
Re:PHP code in format? 9 Years, 8 Months ago Karma: 760
Is "Server side pagination" parameter is enabled in "ARI Smart Content - Data Table" module? "Columns settings -> Type" parameter is used by the module only if "Server side pagination" is disabled otherwise will be sorting functionality of a database ("ORDER BY" construction and DB type of a column will be used for sorting).

Regards,
ARI Soft
The administrator has disabled public write access.
 
#53677
Re:PHP code in format? 9 Years, 8 Months ago Karma: 0
Server Side pagination is enabled. However, I still can't set the "type" field to either of the date fields, which seems like a bug (it always sets it to HTML if I try to change it to Date). Since it's not being used, it shouldn't matter, but just FYI.

The DB type of the column is integer. It does not appear to be using it to sort, unless the server side sort only sorts what's visible on the page?
The administrator has disabled public write access.
 
#53680
Re:PHP code in format? 9 Years, 8 Months ago Karma: 760
The problem with "Type" parameter is fixed. The updated component is available in "Member Area".

About sorting, could you provide a link to a page where the problem occurs and a temporary access to J! backend by email so we can investigate this problem in more details?

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