Note: You are currently viewing documentation for Moodle 2.6. Up-to-date documentation for the latest stable version of Moodle may be available here: Glossary FAQ.

Glossary FAQ: Difference between revisions

From MoodleDocs
No edit summary
(updating text and adding link to tracker)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Glossary}}
{{Glossary}}
<p class="note">'''Please refer to [[TOC_with_notes#Glossary|these notes]] before editing this page.'''</p>
 
==How can I turn on glossary auto-linking?==
==How can I turn on glossary auto-linking?==


# The glossary auto-linking filter should be enabled by an administrator in ''Administration > Modules > [[Filters|Manage filters]]''.
# The glossary auto-linking filter should be enabled by an administrator in ''Administration > Site administration > Plugins > Filters > Manage filters''.
# Each glossary entry should have the "This entry should be automatically linked" box checked.
# Each glossary entry should have the "This entry should be automatically linked" box checked.
==How can I make glossary entries auto-link to the first instance on a page ONLY?==
To stop the linking of every instance, an administrator can enable either 'Filter match once per page' or 'Filter match once per text' in ''Settings > Site administration > Plugins > Filters > Common filter settings''.


==How can I delete a glossary entry attachment?==
==How can I delete a glossary entry attachment?==
Line 12: Line 16:
==How can I enable glossary auto-linking in uploaded HTML files?==
==How can I enable glossary auto-linking in uploaded HTML files?==


In ''Administration > Modules > [[Filters|Manage filters]]'', set ''filteruploadedfiles'' to "All files" or "HTML files only".
In ''Administration > Site administration > Plugins > Filters > Common filter settings'', set ''filteruploadedfiles'' to "All files" or "HTML files only".


==How can I exempt individual words from auto-linking to a Glossary entry?==


==How can I exempt individual words from auto-linking to a Glossary entry?==
If you don't want particular text to be linked (in a Forum post, say) then:
If you don't want particular text to be linked (in a Forum post, say) then:
# In Edit mode, locate and click the Toggle HTML Source button on the formatting toolbar (appears as '<>' symbol)
# In Edit mode, locate and click the Toggle HTML Source button on the formatting toolbar (appears as '<>' symbol)
Line 21: Line 25:
# Before and after the text respectively, add <nolink> and </nolink>.
# Before and after the text respectively, add <nolink> and </nolink>.
# Save and check.
# Save and check.
==How can I prevent glossary auto-linking in a quiz?==
# In ''Administration > Quiz administration > Filters'' turn the glossary auto-linking filter off
# Click the 'Save changes' button
==How can I make a glossary "read only" for students?==
* In ''Administration > Glossary administration > Permissions'',  set the ''Create new entries'' capability for Student to ''Prevent''. ([http://moodle.org/mod/forum/discuss.php?d=204674&parent=892580#p892618| screenshot in forum thread thanks to Joseph Rézeau])


==How do I import entries from another glossary?==
==How do I import entries from another glossary?==


See [[Import glossary entries]].  
See [[Import glossary entries]].
 
==I am frustrated trying to import my old images glossary into my new glossary with XML==
 
Please note the tracker issue MDL-28526
 
Here is a workaround, there has to be an easier way but
*Create a webfolder that you can link to.  For example call it "images"
*Add images to that folder
*Export your XML file and edit it
* Change the  src=&quot;@@PLUGINFILE@@/  to something line  src=&quot;Mydomain.edu/images/ for every entry in the file. 
*Save the XML file with a different name
*Import that new XML file into your new glossary
 
Now when you use the course import feature, your glossary will work in the new course.
 
==How can I make a glossary global?==
[https://moodle.org/mod/forum/discuss.php?d=222800&parent=968960#p969057 See this forum thread on making a glossary global.]
==What is the code for the different display formats?==
The table below summarises the different display formats.
<table style="text-align: center;" border="1" cellpadding="2" cellspacing="0">
  <tr>
    <th style="text-align: left; width: 15em;">Format</th>
    <th style="width: 4em;">Entry</th>
    <th style="width: 4em;">Author</th>
    <th style="width: 4em;">Date</th>
 
    <th style="width: 4em;">Definition</th>
    <th style="width: 4em;">Images</th>
    <th style="width: 4em;">Attachments</th>
  </tr>
  <tr>
    <td style="text-align: left;">Entry list</td>
    <td>x</td>
 
    <td>- </td>
    <td>-</td>
    <td>x</td>
    <td>x</td>
    <td>link</td>
  </tr>
 
  <tr>
    <td style="text-align: left;">Simple Dictionary</td>
    <td>x</td>
    <td>-</td>
    <td>-</td>
    <td>x</td>
 
    <td>x</td>
    <td>link</td>
  </tr>
  <tr>
    <td style="text-align: left;">Continuous</td>
    <td>x</td>
    <td>-</td>
 
    <td>-</td>
    <td>x</td>
    <td>x</td>
    <td>link</td>
  </tr>
  <tr>
    <td style="text-align: left;">FAQ</td>
 
    <td>x</td>
    <td>-</td>
    <td>x</td>
    <td>x</td>
    <td>x</td>
    <td>link</td>
 
  </tr>
  <tr>
    <td style="text-align: left;">Full without Author</td>
    <td>x</td>
    <td>-</td>
    <td>x</td>
    <td>x</td>
 
    <td>x</td>
    <td>link</td>
  </tr>
  <tr>
    <td style="text-align: left;">Full with Author</td>
    <td>x</td>
    <td>x</td>
 
    <td>x</td>
    <td>x</td>
    <td>x</td>
    <td>link</td>
  </tr>
  <tr>
    <td style="text-align: left;">Encyclopedia</td>
 
    <td>x</td>
    <td>x</td>
    <td>x</td>
    <td>x</td>
    <td>x</td>
    <td>x*</td>
 
  </tr>
</table>
<p>* Attached images are shown inline.</p>
 


==See also==
==See also==
Line 31: Line 150:
* [[Import and export FAQ]]
* [[Import and export FAQ]]
* [[XML FAQ]]
* [[XML FAQ]]
[[Category:FAQ]]


[[de:Glossar_FAQ]]
[[de:Glossar_FAQ]]
[[Category:FAQ]]
[[es:Glosario FAQ]]

Latest revision as of 10:51, 21 January 2014


How can I turn on glossary auto-linking?

  1. The glossary auto-linking filter should be enabled by an administrator in Administration > Site administration > Plugins > Filters > Manage filters.
  2. Each glossary entry should have the "This entry should be automatically linked" box checked.

How can I make glossary entries auto-link to the first instance on a page ONLY?

To stop the linking of every instance, an administrator can enable either 'Filter match once per page' or 'Filter match once per text' in Settings > Site administration > Plugins > Filters > Common filter settings.

How can I delete a glossary entry attachment?

Simply delete the glossary entry and add a new one.

How can I enable glossary auto-linking in uploaded HTML files?

In Administration > Site administration > Plugins > Filters > Common filter settings, set filteruploadedfiles to "All files" or "HTML files only".

How can I exempt individual words from auto-linking to a Glossary entry?

If you don't want particular text to be linked (in a Forum post, say) then:

  1. In Edit mode, locate and click the Toggle HTML Source button on the formatting toolbar (appears as '<>' symbol)
  2. Locate the piece of text you want to exempt from autolinking
  3. Before and after the text respectively, add <nolink> and </nolink>.
  4. Save and check.

How can I prevent glossary auto-linking in a quiz?

  1. In Administration > Quiz administration > Filters turn the glossary auto-linking filter off
  2. Click the 'Save changes' button

How can I make a glossary "read only" for students?

How do I import entries from another glossary?

See Import glossary entries.

I am frustrated trying to import my old images glossary into my new glossary with XML

Please note the tracker issue MDL-28526

Here is a workaround, there has to be an easier way but

  • Create a webfolder that you can link to. For example call it "images"
  • Add images to that folder
  • Export your XML file and edit it
  • Change the src="@@PLUGINFILE@@/ to something line src="Mydomain.edu/images/ for every entry in the file.
  • Save the XML file with a different name
  • Import that new XML file into your new glossary

Now when you use the course import feature, your glossary will work in the new course.

How can I make a glossary global?

See this forum thread on making a glossary global.

What is the code for the different display formats?

The table below summarises the different display formats.

Format Entry Author Date Definition Images Attachments
Entry list x - - x x link
Simple Dictionary x - - x x link
Continuous x - - x x link
FAQ x - x x x link
Full without Author x - x x x link
Full with Author x x x x x link
Encyclopedia x x x x x x*

* Attached images are shown inline.


See also