hn/glossary-one

A glossary extension.

Installs: 2 844

Dependents: 0

Suggesters: 0

Security: 0

Type:typo3-cms-extension

v1.1.6 2019-08-09 11:55 UTC

README

A TYPO3 glossary extension that uses content elements to describe terms. Furthermore it is able to parse pages to find terms and link them to the detailed view page.

Installation

  1. Install and activate the extension in the Extension Manager
  2. Create a list page, a detail page (optional, you can also use the list page as detail page)
    and a folder, where the terms are stored
    
  3. Add the Glossary plugin to the list and detail page
  4. Add static TypoScript to your site template
  5. Use the constant editor on your template to configure necessary uids
  6. Create terms in the folder

Screenshots

Edit constants

Add new term

Glossary

Parsing terms

Configuration

  • There are several options you can configure in the constants, e.g. define tags that shall be parsed.
    By default `<li>` and `<p>`-tags are parsed.
    
  • In the TypoScript setup.txt you can define how to handle umlauts.
    By default: Ä belongs to A, Ö belongs to O and Ü belongs to U.
    Moreover you can combine 2 or more letters.
    X and Y are combined by default, so words that start with X or Y belong to the same group.
    
termGroups {
    1 {
        name = A
        regex = /ä/iu
    }

    2 {
        name = O
        regex = /ö/iu
    }

    3 {
        name = U
        regex = /ü/iu
    }

    4 {
        name = XY
        regex = /x|y/i
    }
}