Adding components to file upload modal

More
4 months 1 week ago #171205 by krosser
krosser created the topic: Adding components to file upload modal
Hi guys,

I would like to add extra Bootstrap components to the file upload modal. For example, extra text boxes, apart from already available title and comment; radio buttons and/or dropdowns for selecting categories of the file before uploading; and so on.
Does anyone know where to look for the file upload modal in the LS twig files?
I can add a new modal to different file questions, but I cannot change the default file upload type. I need to find out where I can add the HTML code for the default file upload.

Any help would be appreciated. :)

I'm using the latest LS 3.15 hosted on LS servers, not installed locally.

Please Log in or Create an account to join the conversation.

More
4 months 4 days ago #171297 by LouisGac
LouisGac replied the topic: Adding components to file upload modal
Hi, you will have to create a question theme.
More infos here:
github.com/LimeSurvey/LimeSurvey/tree/master/themes/question

Please Log in or Create an account to join the conversation.

More
4 months 4 days ago #171300 by krosser
krosser replied the topic: Adding components to file upload modal
Okay, so is it only possible when you have the LS installed on your server, when you have direct access to the files?

I'm using the latest LS 3.15 hosted on LS servers, not installed locally.

Please Log in or Create an account to join the conversation.

More
4 months 4 days ago #171301 by LouisGac
LouisGac replied the topic: Adding components to file upload modal
for now there is no uploader for the question, it will come very soon.
but you can already create a question theme on a local computer, and then upload it to your live server.

Please Log in or Create an account to join the conversation.

More
4 months 4 days ago #171302 by krosser
krosser replied the topic: Adding components to file upload modal
Again, this is not clear if it would be possible for users who don't have the LS installed on their servers.
When you talk about the live server, what do you refer to?

I'm using the latest LS 3.15 hosted on LS servers, not installed locally.

Please Log in or Create an account to join the conversation.

More
4 months 4 days ago #171303 by LouisGac
LouisGac replied the topic: Adding components to file upload modal
no it is not possible for now.

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!