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'] = 'Removido com sucesso.'; $lang['uninstalled'] = 'Módulo desinstalado.'; $lang['installed'] = 'Module version %s installed.'; $lang['prefsupdated'] = 'Module preferences updated.'; $lang['accessdenied'] = 'Access Denied. Please check your permissions.'; $lang['error'] = 'ERRO'; $lang['upgraded'] = 'Module upgraded to version %s.'; $lang['title_mod_prefs'] = 'Module Preferences'; $lang['title_mod_admin'] = 'Module Admin Panel'; $lang['title_term'] = 'Term'; $lang['title_definition'] = 'Definição'; $lang['column_definition'] = 'Definição'; $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'] = 'Automatically Filter Content Pages for Terms?'; $lang['title_filter_news'] = 'Filter News Articles for Terms?'; $lang['title_number_show'] = 'Número máximo de termos mostrados por página.'; $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_disable_prettyurls'] = 'Disable pretty urls for this module'; $lang['title_disable_prettyurls_label'] = 'Desactivar'; $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'] = 'Termo'; $lang['column_termid'] = 'ID do Termo'; $lang['column_action'] = 'Acção'; $lang['column_category'] = 'Categoria'; $lang['title_admin_panel'] = 'Glossário / Dicionário / FAQ'; $lang['title_term_list'] = 'Termos'; $lang['title_name'] = 'Nome'; $lang['title_cats'] = 'Categorias'; $lang['title_filter_category'] = 'Mostrar somente esta categoria:'; $lang['title_all'] = 'Todas as categorias'; $lang['column_template'] = 'Template Name'; $lang['title_template'] = 'Template Definition'; $lang['addterm'] = 'Add New Term'; $lang['termadded'] = 'Term has been added.'; $lang['termdeleted'] = 'Term has been deleted.'; $lang['edit'] = 'Edit Term'; $lang['filter'] = 'Filtrar'; $lang['delete'] = 'Apagar Termo'; $lang['suredelete'] = 'Are you sure you want to delete the term %s?'; $lang['listterms'] = 'Manage Terms'; $lang['listtempl'] = 'Manage Templates'; $lang['listcats'] = 'Manage Categories'; $lang['addcat'] = 'Adicionar Categoria'; $lang['editcat'] = 'Editar Categoria'; $lang['delcat'] = 'Apagar Categoria'; $lang['manageprefs'] = 'Admin Preferences'; $lang['templatelist'] = 'Templates'; $lang['unknown_term'] = 'Unknown term %s requested.'; $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_prettyurls_help'] = 'Disabling pretty urls for this module may help if some of your terms have non alphanumeric characters or whitespace.'; $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'] = 'No templates in database.'; $lang['nocats'] = 'No categories in database.'; $lang['addtemplate'] = 'Adicionar um template'; $lang['templateupdated'] = 'Template actualizado'; $lang['templatedeleted'] = 'Template deleted'; $lang['catupdated'] = 'Category updated'; $lang['catdeleted'] = 'Category deleted'; $lang['areyousure'] = 'Are you sure you want to delete %s?'; $lang['next'] = ' : Next »'; $lang['prev'] = '« Previous : '; $lang['moddescription'] = 'This module allows you to create a list of terms and definitions for display. A term may be a word, a frequently asked question, or anything similar.'; $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.