Note: You are currently viewing documentation for Moodle 3.2. Up-to-date documentation for the latest stable version of Moodle is probably available here: Choice FAQ.

Choice FAQ: Difference between revisions

From MoodleDocs
Line 14: Line 14:
#Go to your course files and get the URL (web address) of the files you  want to display. (You can usually do this by right-clicking and selecting ''Properties'' or ''copy link location'')
#Go to your course files and get the URL (web address) of the files you  want to display. (You can usually do this by right-clicking and selecting ''Properties'' or ''copy link location'')
#Paste it into a text editor like notepad (''This is not essential but makes it easier to add the code'')
#Paste it into a text editor like notepad (''This is not essential but makes it easier to add the code'')
#To display an image, add this code either side of your image URL: <pre><img src="YOUR_IMAGE_.jpg"></pre>
#To display an image, add this code either side of your image URL: <pre><img src="YOUR_IMAGE_.jpg" /></pre>
#To display a sound or video file -first ensure your site admin has [[Multimedia plugins|multimedia plugins/filters]] enabled
#To display a sound or video file -first ensure your site admin has [[Multimedia plugins|multimedia plugins/filters]] enabled
#Add this code either side of your sound or video file: <pre><a href="YOUR_SOUND_FILE.mp3"></a></pre>
#Add this code either side of your sound or video file: <pre><a href="YOUR_SOUND_FILE.mp3"></a></pre>

Revision as of 15:23, 15 March 2010

Template:Choices

How can I enable users to participate in a front page choice activity?

To enable logged-in users to participate in a front page choice activity:

  1. Update the choice and click the 'Override permissions' tab
  2. Select the authenticated user role
  3. Set the capability mod/choice:choose to allow.
  4. Click the 'Save changes' button.

Can I use images or other file types as choice options instead of text?

To do this, first upload your images or sound files (mp3) or video files to your course:

  1. Go to your course files and get the URL (web address) of the files you want to display. (You can usually do this by right-clicking and selecting Properties or copy link location)
  2. Paste it into a text editor like notepad (This is not essential but makes it easier to add the code)
  3. To display an image, add this code either side of your image URL:
    <img src="YOUR_IMAGE_.jpg" />
  4. To display a sound or video file -first ensure your site admin has multimedia plugins/filters enabled
  5. Add this code either side of your sound or video file:
    <a href="YOUR_SOUND_FILE.mp3"></a>
  6. Set up your choice as normal and in the options boxes, paste the relevant code+URL.

Beware! Double check before you paste - any extra or missing space or bit of code and it won't work.

See also

Using Moodle forum discussions: