Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.General Select2 HTML structure in Shifto template. Here is the Folder structure.
<!-- Select2 js --> <script src="../assets/plugins/select2/js/select2.min.js"></script>
// ______________Select2 with Search $('.select2').select2({ placeholder: 'Choose one', searchInputPlaceholder: 'Search', width: '100%' }); // ______________Select2 without Search $('.select2-no-search').select2({ minimumResultsForSearch: Infinity, placeholder: 'All categories', width: '100%' });
General File Upload HTML structure in Shifto template. Here is the Folder structure.
<!-- Internal Fileuploads js --> <script src="../assets/plugins/fileuploads/js/fileupload.js"></script>
<!-- InternalFancy uploader js --> <script src="../assets/plugins/fancyuploder/jquery.ui.widget.js"></script> <script src="../assets/plugins/fancyuploder/jquery.fileupload.js"></script> <script src="../assets/plugins/fancyuploder/jquery.iframe-transport.js"></script> <script src="../assets/plugins/fancyuploder/jquery.fancy-fileupload.js"></script> <script src="../assets/plugins/fancyuploder/fancy-uploader.js"></script>