Zostały wprowadzone ustawienia i wpisy domyślne aby zademonstrować funkcje modułu. Możesz usunąć lub zmodyfikować domyśle wpisy i kategorie.
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 <sjg@cmsmodules.com>. All Rights Are Reserved.
This module has been released under the GNU Public License. You must agree to this license before using the module.