Plugin Glossary | |
Authors | Anyware Services |
Most recent version | 1.1.0 |
Tracking issues | |
Download | Latest version |
The Glossary plug-in allows you to add definitions of term to build a glossary. The text of contents is scanned and display a pop-up definition for words that can be found in the glossary.
This extention will be only available with 3.3 releases.
Click on "Glossary" button of Home tab to open the glossary tool.
Select a language in the drop down list in the top of the tool.
This tool allows you to create / edit or delete the glossary terms.
Click on Add button to insert a new definition
You can also add a new glossary term, directly in content edition.
On edition, select the term to add in glossary and clic on Add to glossary button
The terms of glossary arec highlight in contents and the definition is displayed on mouseover.
Go to Add service menu to add the "Glossary" service.
Parameters | Description | Mandatory |
Title | The service title. | no |
A page by letter | Check this box to organize the navigation in glossary by letters | yes |
Display | Select the view to use for the service rendering. | yes |
Affect the "Glossary" tag to the page containing this service.
This is necessary to link the terms used in contents to the glossary.
Add the glossary tool button in your cms-ribbon-*.xmlfiles
<control id="org.ametys.plugins.glossary.Glossary"/>
To add definition in contents edition, add the control org.ametys.glossary.editor.AddDefinition in the org.ametys.cms.content.EditionTab tab of your cms-ribbon-*.xmlfiles:
<layout align="top" size="small"> <control id="org.ametys.cms.edition.symbol.Insert"/> <control id="org.ametys.glossary.editor.AddDefinition"/> <control id="org.ametys.plugins.forms.Insert"/> </layout>
To personalize the style of glossary terms in yours contents you can add CSS style for <dfn>tag. For example :
dfn { font-weight: bold; font-style: normal; border-bottom: 1px dashed #000; text-decoration: none; } dfn a { text-decoration: none !important; border-bottom: 1px dashed #006BB1; }