This extension lets you integrate a simple glossar for your website.
In addition, created terms can be automatically linked with a configurable parser.
Advantages of dpn_glossary
Simple configuration
Automatic parsing of terms on pages
Screenshots
The editing of a term record
The automatic parser finds terms you created and links them to your detailpage
Administrator Manual
Target group: Administrators
Installation
Install the extension in the extension manager or composer (composer req featdd/dpn-glossary)
Add the static TypoScript to your Site template:
Go to "Template" Module in your TYPO3 Backend
Edit your template record
Add the entry "dreipunktnull glossary" below the "Includes" tab in the "Include static (from extensions)" field.
Create a..
..page and add the glossary plugin
Alternatively you can add a second glossary plugin on a separate page.
Use this page UID as your detailpage and split your routing configuration for the list and detailpage.
..storage and add your terms
Configure the TypoScript constants of the extension..
While for most cases a simple dataWrap in TypoScript is enough, it is also possible to render terms with a Fluid template.
You may only have to take care of unnecessary whitespace with stdWrap.trim = 1 and the <f:spaceless> ViewHelper.
This is a working example routing configuration. |
The "special: [ Ä,Ö,Ü ]" part for the pagination is only needed if you want to use umlauts or other special characters.
Pages can also dynamically excluded from parsing by page properties
Page Properties > Behaviour > Settings for dreipunktnull Glossary:
Exclude page from parsing
By making field
tx_dpnglossary_parsing_settings of table
pages available for your editors, it is also possible to let (power)
editors decide, which pages should be parsed.
Exclude content elements from being parsed
The following TypoScript constant defines HTML classes whose content will be
excluded from parsing:
Content wrapped with one of these classes will be excluded from parsing.
Content can also dynamically excluded from parsing by content properties
Content Properties > Appearance > Settings for DPN Glossary.
This only works if the default Fluid layout has been overriden to wrap the
content with the HTML class
tx_dpn_glossary_exclude and this class is
still found in the
settings.forbiddenParsingTagClasses.
You can set the following TypoScript constant to let this extension override
the Fluid Styled Content default layout: