- Support
- Forums
- SimpleQuiz
- Extension Forums
- SimpleQuiz Forum
- Template Overrides and drag and drop to sort questions
Template Overrides and drag and drop to sort questions
- Steven
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
2 years 7 months ago #1
by Steven
Template Overrides and drag and drop to sort questions was created by Steven
FYI:
Template overrides for PHP seem to work, but css overrides do not. I hate to override the component css because it will be over written in an update.
Drag and drop to sort questions does not seem to work. I had 9 questions and tried to make question 9 appear as 1. I could get it to the second or third question but then it would behave erratically and would not allow me to move it to first position. It would change between second and third whether I tried to drag it up or the other questions down. I finally had to manually do it in the database.
Template overrides for PHP seem to work, but css overrides do not. I hate to override the component css because it will be over written in an update.
Drag and drop to sort questions does not seem to work. I had 9 questions and tried to make question 9 appear as 1. I could get it to the second or third question but then it would behave erratically and would not allow me to move it to first position. It would change between second and third whether I tried to drag it up or the other questions down. I finally had to manually do it in the database.
Please Log in or Create an account to join the conversation.
- Christopher Mavros
- Offline
- Administrator
2 years 7 months ago #2
by Christopher Mavros
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Replied by Christopher Mavros on topic Template Overrides and drag and drop to sort questions
Hi again Steven.
That's normally two different subjects, so they should be in two different posts, but that's ok.
About template overrides for CSS, you are right. You can always use your template's custom.css file to customize the look of SimpleQuiz, but I have also included this feature and it will be available in the next update.
You will be able to override the following two files:
media/com_simplquiz/js/sq.min.js with the file templates/your_template/js/sq.min.js in Joomla 3 and media/templates/site/your_template/js/com_simplequiz/sq.min.js in Joomla 4.
media/com_simplquiz/css/simplequiz.min.css with the file templates/your_template/css/simplequiz.min.css in Joomla 3 and media/templates/site/your_template/css/com_simplequiz/simplequiz.min.css in Joomla 4.
About the drag and drop, I just tested it in both Joomla 3 and Joomla 4, and it works. Are you trying to do that in a device, like a tablet? This can sometimes be a little annoying, but if you refresh the page, it usually works well.
Let me know!
That's normally two different subjects, so they should be in two different posts, but that's ok.
About template overrides for CSS, you are right. You can always use your template's custom.css file to customize the look of SimpleQuiz, but I have also included this feature and it will be available in the next update.
You will be able to override the following two files:
media/com_simplquiz/js/sq.min.js with the file templates/your_template/js/sq.min.js in Joomla 3 and media/templates/site/your_template/js/com_simplequiz/sq.min.js in Joomla 4.
media/com_simplquiz/css/simplequiz.min.css with the file templates/your_template/css/simplequiz.min.css in Joomla 3 and media/templates/site/your_template/css/com_simplequiz/simplequiz.min.css in Joomla 4.
About the drag and drop, I just tested it in both Joomla 3 and Joomla 4, and it works. Are you trying to do that in a device, like a tablet? This can sometimes be a little annoying, but if you refresh the page, it usually works well.
Let me know!
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Please Log in or Create an account to join the conversation.
Moderators: Christopher Mavros
- Home
- Support
- Forums
- SimpleQuiz
- Extension Forums
- SimpleQuiz Forum
- Template Overrides and drag and drop to sort questions