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
No edit summary
(updated for 2)
Line 1: Line 1:
{{Choice}}
{{stub}}
<p class="note">'''Please refer to [[TOC_with_notes#Choice|these notes]] before editing this page.'''</p>
{{Choices}}
==How can I enable users to participate in a front page choice activity?==
==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:
To enable logged-in users to participate in a front page choice activity:
# Update the choice and click the '[[Override permissions]]' tab
# Click the edit icon of the Choice.
# Select the authenticated user role
# In the Settings block for the Choice, click ''Permissions.''
# From the dropdown ''Advanced role override'', choose "authenticated user"
# Set the capability [[Capabilities/mod/choice:choose|mod/choice:choose]] to allow.
# Set the capability [[Capabilities/mod/choice:choose|mod/choice:choose]] to allow.
# Click the 'Save changes' button.
# Click the 'Save changes' button.
==Can I use images or other file types as choice options instead of text?==
==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:
To do this, first upload your images or sound files (mp3) or video files to the internet.


#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'')
#Copy the URL (web address) of the files you  want to display.  
#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:
#To display a sound or video file -first ensure your site admin has [[Multimedia plugins|multimedia plugins/filters]] enabled
<img src="YOUR_IMAGE_.jpg">
#Add this code either side of your sound or video file: <pre><a href="YOUR_SOUND_FILE.mp3"></a></pre>
#To display a sound or video file -first ensure your site admin has multimedia plugins/filters enabled
#Add this code either side of your sound or video file:
<a href="YOUR_SOUND_FILE.mp3"></a>
#Set up your choice as normal and in the options boxes, paste the relevant code+URL.
#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.
'''Beware!'''  Double check before you paste - any extra or missing space or bit of code and it won't work.
Line 23: Line 27:


*Using Moodle [http://moodle.org/mod/forum/view.php?id=735 Choice module forum]
*Using Moodle [http://moodle.org/mod/forum/view.php?id=735 Choice module forum]
*screencast how to use images/sound/video files as Choice options [http://www.youtube.com/watch?v=-MexQ1I2_UI Multimedia Choice]


Using Moodle forum discussions:
Using Moodle forum discussions:

Revision as of 20:39, 9 September 2011

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. Click the edit icon of the Choice.
  2. In the Settings block for the Choice, click Permissions.
  3. From the dropdown Advanced role override, choose "authenticated user"
  4. Set the capability mod/choice:choose to allow.
  5. 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 the internet.

  1. Copy the URL (web address) of the files you want to display.
  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">

  1. To display a sound or video file -first ensure your site admin has multimedia plugins/filters enabled
  2. Add this code either side of your sound or video file:

<a href="YOUR_SOUND_FILE.mp3"></a>

  1. 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: