71 Posts
Dgikar
9 years ago
1
Topic

Hi all

I need help and explanation... How i can install and use Bootstrap File Input plugin (whit multi-uploads file) whit SEBLOD... I don't have any idea about it...

Thank you in advance for your answers

Get a Book for SEBLOD
9 years ago
0
Level 1

Hi,

Sorry for the late reply.

Regarding the installation description of the plugin, what you would need to do is :

  1. Upload the 'fileinput.min.js' and 'fileinput.min.css' plugin files to your server in a folder of your website.
  2. Load these 2 files by updating your Joomla! template file where css and js files are loaded (take care of the path)
  3. In your SEBLOD input file field, add some js (by clicking on the bottom right expanding arrow of your field configuration form) to activate the code for your field (replace field_name with your field name). Set plugin options if needed as described in the documentation:

    // initialize with defaults
    $("#field_name").fileinput();

    OR

    // with plugin options
    $("#field_name").fileinput({'showUpload':false, 'previewFileType':'any'})

Let us know how this went for you.

Olivier

Get a Book for SEBLOD