| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Date pikcer with arrows for previous/next year | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Date pikcer with arrows for previous/next year
Would there be a way to put arrows to change years in datepicker widget
\XLite\View\FormField\Input\Text\Date ? I went through lots and lots of files, but I have been unable to figure out which one was responsible for outputting the actual datepicker. The best information I could get was the fact that the file skins/admin/form_field/input/text/date.less contains lots of css rules on elements in the css class .ui-datepicker-something, but there aren't even a css element like that on the page where the datepicker appears...
__________________
X-cart 5.2.12, php 5.6 Ed from Grenoble, France |
|||||||
#2
|
|||||||
|
|||||||
Re: Date pikcer with arrows for previous/next year
I have found a work-around, it "suffices" to add a line
Code:
Code:
Code:
__________________
X-cart 5.2.12, php 5.6 Ed from Grenoble, France |
|||||||
#3
|
|||||||
|
|||||||
Re: Date pikcer with arrows for previous/next year
Quote:
In the current version, it is skins/common/form_field/js/date.js that I have to change...
__________________
X-cart 5.2.12, php 5.6 Ed from Grenoble, France |
|||||||
#4
|
|||||||
|
|||||||
Re: Date pikcer with arrows for previous/next year
Quote:
Of course, it suffices to override \XLite\View\FormField\Input\Text\Date how stupid of me And just in case this could be useful anyone, the view class for datepicker.js was \XLite\View\FormModel\Type\DatepickerType.php
__________________
X-cart 5.2.12, php 5.6 Ed from Grenoble, France |
|||||||
|
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|