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?

Possible changes?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Possible changes?
#41348
Possible changes? 10 Years, 11 Months ago Karma: 0
Hi Ari-Team,

is it possible to do following changes:

- Custom date/time format for the variable {$created}

- Custom query for article sorting, e.g. from my query.php of the blog view:

Code:

case 'today' :
$queryDate = ' CASE WHEN a.created >= ' . $db->Quote(JFactory::getDate(date('d.m.Y', strtotime('now')))->toSQL()) . ' THEN 0 ELSE a.created END ';
break;



blog.xml:

Code:

<field name="order_date" type="list"
description="JGLOBAL_ORDERING_DATE_DESC"
label="JGLOBAL_ORDERING_DATE_LABEL"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="created">JGLOBAL_CREATED</option>
<option value="today">Today's Date as Start</option>
<option value="modified">JGLOBAL_MODIFIED</option>
<option value="published">JPUBLISHED</option>
</field>



As you can see, it checks for createdate = today and starts with it, otherwise it just displays order by createdate


- And the last one would be:

Could you tell me the .js code handling the navigation prev and next button, so i can make one nav for two sliders?

Thanks in advance
The administrator has disabled public write access.
 
#41354
Re:Possible changes? 10 Years, 11 Months ago Karma: 747
Hello,

1, Use "date_format" filter. For example {$variable|date_format:%b %e, %Y} value. You can find possible variants of data formatting string here.

2. The extension doesn't support this ability.

3. We can send original version of javascript file which is used by the extension by email.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#41358
Re:Possible changes? 10 Years, 11 Months ago Karma: 0
Hi there,

thanks very much

1. works like a charm, a simple d.m.Y was enough no % needed

2. If you could point me to the part of code i could do it my self, did it for joomla, too ^^ it's nice because there is no need for com's mod's plg's for events, i just use the blog feature, its to make articles available even if date is passed, publish up/down isn't the best solution..

3. Yes please ^^ just send it to my profile email

Greetz Lava
Last Edit: 2013/05/30 00:37 By lavaground.
The administrator has disabled public write access.
 
#41360
Re:Possible changes? 10 Years, 11 Months ago Karma: 747
2. If you use Joomla! 1.6+, see "getArticleList" method in <joomla_directory>\modules\mod_arislider\includes\kernel\Articles\j16\class.ArticleController.php file.

3. Find jquery.slider.js file in install/source folder from mod_arislider.zip archive.

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