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... |
Re: Date pikcer with arrows for previous/next year
I have found a work-around, it "suffices" to add a line
Code:
changeYear: true, Code:
$el.datepicker({ Code:
public function getCommonFiles() |
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... |
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:oops: And just in case this could be useful anyone, the view class for datepicker.js was \XLite\View\FormModel\Type\DatepickerType.php |
All times are GMT -8. The time now is 02:18 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.