I work with kohana.
I have a view in which there is a "calendar" and the ability to select pictures (with the possibility of further loading)
<?=Form::file('images[]', array('id' => 'multi'))?>
For pictures, there are scripts that I load in the controller
$this->template->scripts = array('.s/src/photo/jquery-1.6.2.min.js', '.s/src/photo/jquery.MultiFile.pack.js', '.s/src/photo/upload.js', '.s/src/photo/view_images.js',);
The calendar uses scripts too, but they are in my view
<script src="/.s/src/cal/jquery.js"></script> <script src="/.s/src/cal/jquery.datetimepicker.full.js"></script> <script src="/.s/src/cal/set.js"></script>
The problem is that the calendar is working (i.e. the ability to select a date) when the script
<script src="/.s/src/cal/jquery.js"></script>
NOT commented out, but the selection of images does NOT work ... Conversely, the selection of images WORKS when the above script is COMMENTS, but the date selection does not work using the calendar.
I think that somewhere there is not a correct link to the files.
How can I get rid of this problem?
Thank you in advance
template->scripts
, I think it makes no sense to transfer if it is loaded on the page. Well, I suspect different versions of these jquery files. - Bookin