- Posts: 15
mod_joomdle_randomquestion
- rob kuhlig
- Topic Author
- Offline
- New Member
-
Less
More
11 years 11 months ago - 11 years 11 months ago #1
by rob kuhlig
mod_joomdle_randomquestion was created by rob kuhlig
Servus
I have managed to import 150 questions and assigned them to 4 different categories
I have setup 1 module in joomla with mod_joomdle_randomquestion and 1 category
The module is shown but when I press “send” or “new question” nothing happens
For a demo please see end of page
test.mitsm.de/itil/foundation-zertifizierungskurs (link in first Version was WRONG - sorry)
note:
• a new question is loaded when I press F5
• in moodle the quiz is running
Any hints?
thanks rob
I have managed to import 150 questions and assigned them to 4 different categories
I have setup 1 module in joomla with mod_joomdle_randomquestion and 1 category
The module is shown but when I press “send” or “new question” nothing happens
For a demo please see end of page
test.mitsm.de/itil/foundation-zertifizierungskurs (link in first Version was WRONG - sorry)
note:
• a new question is loaded when I press F5
• in moodle the quiz is running
Any hints?
thanks rob
Last edit: 11 years 11 months ago by rob kuhlig. Reason: WRONG LINK
Please Log in or Create an account to join the conversation.
- rob kuhlig
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
11 years 11 months ago #2
by rob kuhlig
Replied by rob kuhlig on topic mod_joomdle_randomquestion
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
11 years 11 months ago #3
by Antonio Durán
Replied by Antonio Durán on topic mod_joomdle_randomquestion
Hi Rob.
I have this item in my TODO list. It seems the module is not working fine with Joomla 3 default template (and others like yours).
But it works fine in others, like the Beez template.
As I am not very much into CSS and Javascript, I have been lazy on trying to fix this one, but now that you are trying to use it, I will try to get to it as soon as I have some time, and get back to you if I find a solution (or if I give up!
I have this item in my TODO list. It seems the module is not working fine with Joomla 3 default template (and others like yours).
But it works fine in others, like the Beez template.
As I am not very much into CSS and Javascript, I have been lazy on trying to fix this one, but now that you are trying to use it, I will try to get to it as soon as I have some time, and get back to you if I find a solution (or if I give up!
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
11 years 11 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic mod_joomdle_randomquestion
I have taken a quick look, and found that the problem is that the module is using jquery without including it. I will try to rework it so it does not need jquery, as I think it is easy.
I will let you know later today.
I will let you know later today.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
11 years 11 months ago #5
by Antonio Durán
Replied by Antonio Durán on topic mod_joomdle_randomquestion
Hi Rob.
I removed the need for Jquery, and also fixed a CSS problem that happened when using default J3 template.
Attached is updated package.
Please test and let me know if you have any issues.
I removed the need for Jquery, and also fixed a CSS problem that happened when using default J3 template.
Attached is updated package.
Please test and let me know if you have any issues.
Please Log in or Create an account to join the conversation.
- rob kuhlig
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
11 years 11 months ago #6
by rob kuhlig
Replied by rob kuhlig on topic mod_joomdle_randomquestion
Hello Antonio
Is installed - looks better BUT not good - Icons are gone - but still can not answer any question nor I get a new question
thanks for help
rob
Is installed - looks better BUT not good - Icons are gone - but still can not answer any question nor I get a new question
thanks for help
rob
Please Log in or Create an account to join the conversation.
- Christopher
- Offline
- New Member
-
Less
More
- Posts: 3
11 years 11 months ago #7
by Christopher
Replied by Christopher on topic mod_joomdle_randomquestion
Is tis modul offical released? Where can i dowload it?
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
11 years 11 months ago #8
by Antonio Durán
Replied by Antonio Durán on topic mod_joomdle_randomquestion
Hi Rob.
It seems the problem is that the code is using mootools, but your site is not loading it.
I am not sure if Joomla 3 loads mootools by default, and you have done something to prevent it, or it's just that your template does not load it.
You can try adding this at the start of "modules/mod_joomdle_randomquestion/tmpl/default.php":
Crhistopher: this module is included in joomlde package, in other-joomla-packages folder.
It seems the problem is that the code is using mootools, but your site is not loading it.
I am not sure if Joomla 3 loads mootools by default, and you have done something to prevent it, or it's just that your template does not load it.
You can try adding this at the start of "modules/mod_joomdle_randomquestion/tmpl/default.php":
Code:
$document = JFactory::getDocument();
$document->addscript(JURI::root(true).'/media/system/js/mootools-core.js');
Crhistopher: this module is included in joomlde package, in other-joomla-packages folder.
Please Log in or Create an account to join the conversation.
- rob kuhlig
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
11 years 11 months ago - 11 years 11 months ago #9
by rob kuhlig
Replied by rob kuhlig on topic mod_joomdle_randomquestion
I try it on monday and will give you feedback - have a nice weekend - cu rob
Last edit: 11 years 11 months ago by rob kuhlig.
Please Log in or Create an account to join the conversation.
- rob kuhlig
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
11 years 11 months ago - 11 years 11 months ago #10
by rob kuhlig
Replied by rob kuhlig on topic mod_joomdle_randomquestion
Hello Antonio
mootools are loaded right now,
If I activate the modul on the main page everything is fine right now. see test.mitsm.de
BUT
in test.mitsm.de/itil/foundation-zertifizierungskurs it is still NOT working
The request goes to the subdir
test.mitsm.de /itil/index.php?option=com_joomdle&format=raw&task=question.get_correct_answer&question_id=545
this one is working
test.mitsm.de/index.php?option=com_joomd...swer&question_id=545
Thnaks an have a nice weekend
rob
mootools are loaded right now,
If I activate the modul on the main page everything is fine right now. see test.mitsm.de
BUT
in test.mitsm.de/itil/foundation-zertifizierungskurs it is still NOT working
The request goes to the subdir
test.mitsm.de /itil/index.php?option=com_joomdle&format=raw&task=question.get_correct_answer&question_id=545
this one is working
test.mitsm.de/index.php?option=com_joomd...swer&question_id=545
Thnaks an have a nice weekend
rob
Last edit: 11 years 11 months ago by rob kuhlig.
Please Log in or Create an account to join the conversation.