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