- Posts: 222
- Thank you received: 10
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Adding components to file upload modal
- krosser
- Topic Author
- Offline
- Elite Member
Less
More
5 years 9 months ago #171205
by krosser
I'm using the latest LS 3.22 hosted on LS servers, not installed locally.
Adding components to file upload modal was created by krosser
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 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.22 hosted on LS servers, not installed locally.
The topic has been locked.
- LouisGac
- Visitor
5 years 9 months ago #171297
by LouisGac
Replied by LouisGac on 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
More infos here:
github.com/LimeSurvey/LimeSurvey/tree/master/themes/question
The topic has been locked.
- krosser
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 222
- Thank you received: 10
5 years 9 months ago #171300
by krosser
I'm using the latest LS 3.22 hosted on LS servers, not installed locally.
Replied by krosser on 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.22 hosted on LS servers, not installed locally.
The topic has been locked.
- LouisGac
- Visitor
5 years 9 months ago #171301
by LouisGac
Replied by LouisGac on 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.
but you can already create a question theme on a local computer, and then upload it to your live server.
The topic has been locked.
- krosser
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 222
- Thank you received: 10
5 years 9 months ago #171302
by krosser
I'm using the latest LS 3.22 hosted on LS servers, not installed locally.
Replied by krosser on 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?
When you talk about the live server, what do you refer to?
I'm using the latest LS 3.22 hosted on LS servers, not installed locally.
The topic has been locked.
- LouisGac
- Visitor
5 years 9 months ago #171303
by LouisGac
Replied by LouisGac on topic Adding components to file upload modal
no it is not possible for now.
The topic has been locked.