mirror of
https://github.com/moodle/moodle.git
synced 2025-01-24 00:58:33 +01:00
914cb260dc
- Added a "All categories" link to the category drop-down box in Category view. - Better display of categorized entries (more organized). - SelectLetter, Special and All captions are now properly showed when some of the their flags are not set. - Properly use of course module visibility (in case someone directly access the URL)
11 lines
862 B
HTML
11 lines
862 B
HTML
<P ALIGN=CENTER><B>Display format</B></P>
|
|
|
|
<P>The system has three built-in formats to display entries. You can create your own format if you want.
|
|
<p>The default view is quite simple. It looks like a conventional dictionary.
|
|
<p>The second view shows the entry in a forum-like format, without the author's data.
|
|
<p>And the third one shows the entry also in a forum-like format but with the author's data.
|
|
<hr>
|
|
<p>If you want to create your own format, you should create a .PHP file and give it a number as its name. See into mod/glossary/formats which should be the next number.
|
|
<p>Then, create a funcion called <b>glossary_print_entry_by_format($course, $cm, $glossary, $entry)</b> and dump all your creativity.
|
|
<p>The last stemp is to insert a new entry in every language pack you use called <b>displayformat[number]</b>, and give it a meaningful description.
|