Tips & Tricks

Please do NOT use this section of the forum to request help if Joomdle does not work for you in some particular way. Your post will be deleted.

random question buttons

  • rob kuhlig
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 6 months ago #1 by rob kuhlig
random question buttons was created by rob kuhlig
Hello,

is there an easy way to style the buttons and to set the content of them (and the content of the "correct answer" message) in the random question plugin? Of course the best in a way it is update-safe.

Now we use the excellent tool NoNumber ReReplacer which works fine for the first displayed question, but the follwoing questions are unstyled, because they are loaded with javascript.

Would be really nice!

Best
Rob

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

More
11 years 6 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic random question buttons
Hi Rob.

For language strings, I guess best way is to use language overrides.

For styling the buttons, I think you can do a template override for the module. You would need to override also ajax.php file, and change script location in your overrided template.
A simpler option would be to modify the module for next release, adding new options in configuration, to specify CSS class for each button.

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