You'll almost certainly want to go in and change settings as well. I intentionally chose odd settings in order to demonstrate features. But you will probably want more than five terms on a page, for example, and you will want to delete my sample terms and categories.'; $lang['postuninstall'] = 'Successfully removed.'; $lang['uninstalled'] = 'Modulet er afinstalleret'; $lang['installed'] = 'Modul version %s er installeret.'; $lang['prefsupdated'] = 'Modul indstillinger opdateret.'; $lang['accessdenied'] = 'Adgang nægtet. Check dine tilladelser.'; $lang['error'] = 'Fejl!'; $lang['upgraded'] = 'Modul opgraderet til version %s.'; $lang['title_mod_prefs'] = 'Modul indstillinger'; $lang['title_mod_admin'] = 'Module Admin Panel'; $lang['title_term'] = 'Udtryk'; $lang['title_definition'] = 'Definition'; $lang['column_definition'] = 'Definition'; $lang['title_default_template'] = 'Default Display Template'; $lang['title_default_single_term_template'] = 'Default template for linked Terms (if showing single term)'; $lang['title_filter_site'] = 'Filter Site for Terms?'; $lang['title_number_show'] = 'Antal udtryk, der skal vises pr. side'; $lang['title_filter_site_label'] = 'Activate all Terms on site? (warning - slows site performance)'; $lang['title_glossary_page'] = 'Glossary Page (target for active links)'; $lang['title_glossary_inline'] = 'Inline linked term display?'; $lang['title_show_termids'] = 'Show Term ID numbers in administration'; $lang['title_display_tab'] = 'Glossary Page Display Options'; $lang['title_single_term'] = 'Show linked term on its own page?'; $lang['title_single_term_label'] = 'Show single term (as opposed to full Glossary)'; $lang['title_link_tab'] = 'Glossary Link Options'; $lang['title_admin_tab'] = 'Admin Panel Options'; $lang['title_filtering_tab'] = 'Site Term-filtering Options'; $lang['title_number_spining_chars'] = 'Maximum number of characters to use of a term in the Glossary nav'; $lang['filter_link'] = 'Link to Glossary Page'; $lang['column_term'] = 'Udtryk'; $lang['column_termid'] = 'Udtryk ID'; $lang['column_action'] = 'Action'; $lang['column_category'] = 'Kategori'; $lang['title_admin_panel'] = 'Gloser / Ordbog/ FAQ'; $lang['title_term_list'] = 'Udtryk'; $lang['title_name'] = 'Navn'; $lang['title_cats'] = 'Kategorier'; $lang['title_filter_category'] = 'Vis kun denne kategori:'; $lang['title_all'] = 'Alle kategorier'; $lang['column_template'] = 'Skabelon navn'; $lang['title_template'] = 'Skabelon definition'; $lang['addterm'] = 'Tilføj nyt udtryk'; $lang['termadded'] = 'Udtryk er tilføjet'; $lang['termdeleted'] = 'Udtryk er slettet'; $lang['edit'] = 'Rediger udtryk'; $lang['filter'] = 'Filter'; $lang['delete'] = 'Slet udtryk'; $lang['suredelete'] = 'Er du sikker på at du vil slette udtrykket %s?'; $lang['listterms'] = 'Administrere udtryk'; $lang['listtempl'] = 'Administrere skabeloner'; $lang['listcats'] = 'Administrere kategorier'; $lang['addcat'] = 'Tilføj kategori'; $lang['editcat'] = 'Redigér kategori'; $lang['delcat'] = 'Slet kategori'; $lang['manageprefs'] = 'Admin Preferences'; $lang['templatelist'] = 'Skabeloner'; $lang['unknown_term'] = 'Ukendt udtryk %s efterspurgt.'; $lang['glossary_page_help'] = 'Select a page below that contains a tag to display glossary information, e.g., a page containing {cms_module module="Glossary"}'; $lang['glossary_inline_help'] = 'Use the following option if you wish to have your active-term definitions displayed in-line. This is mutually exclusive with linking to a Glossary Page'; $lang['title_glossary_inline_label'] = 'Display Inline'; $lang['notemplates'] = 'Ingen skabeloner i databasen.'; $lang['nocats'] = 'Ingen kategorier i databasen.'; $lang['addtemplate'] = 'Tilføj en skabelon'; $lang['templateupdated'] = 'Skabelonen er opdateret'; $lang['templatedeleted'] = 'Skabelonen er slettet'; $lang['catupdated'] = 'Kategorien er opdateret'; $lang['catdeleted'] = 'Kategori slettet'; $lang['areyousure'] = 'Er du sikker på at du vil slette %s?'; $lang['next'] = ' : Næste »'; $lang['prev'] = '« Forrige : '; $lang['moddescription'] = 'Dette modul lader dig oprette en liste af udtryk og definitioner der skal vises. Et udtryk kan være et ord, et ofte stillet spørgsmål eller noget lignende.'; $lang['changelog'] = '
This allows the administrator to create a list of terms, which will appear on a page. Clicking on the term will expand it to include the definition.
Install it by placing the module in a page or template using the smarty tag {cms_module module='Glossary'}
You can have it start with a term expanded by passing a term=Term parameter, or passing a tid=term_id.
You can limit it to a specific category by passing a cat="Category" parameter.
You can override the default template by passing a template="template_id" parameter.
This module also will read the URL, and support specifications of "term" or "cat" on the URL. So, for example, you could have an URL like http://mysite/index.php?page=10?term=myterm. If page 10 includes the Glossary module, it will expand the definition of "myterm".
You can make terms that show up in your pages link to their definitions, either "inline" (where it replaces the content of your page), or by linking to your main Glossary page. This is the "inline" option which you can set in the "Glossary Links Options" section of the Glossary Admin Prefs.
You can also choose to have links go to a page with only the definition of your term, and you can control the display of this by altering the template. This also set in "Glossary Links Options" section of the Glossary Admin Prefs.
You can tag specific words to be linked to the Glossary if you want, by placing the following tag in a page: {cms_module module='Glossary' action='def' term='foo'}, where you replace "foo" with a term that you have in your glossary.
If you turn on site filtering, every instance of each of your terms that shows up on the site will become a link. Depending on the mode you choose in the admin, this will either be a link to your main Glossary page or open to the term in question.
Site filtering is an intensive process, and will slow your site down somewhat. There is an alternate, faster implementation that I may use to replace the existing one, if there are enough complaints. It's more complicated, and I'm lazy, but given sufficient demand, I'll fix it.
This module does not include commercial support. However, there are a number of resources available to help you with it:
As per the GPL, this software is provided as-is. Please read the text of the license for the full disclaimer.
Copyright © 2006, Samuel Goldstein . All Rights Are Reserved.
This module has been released under the GNU Public License. You must agree to this license before using the module.