Login / Status
developer.Resource
Home . Extensions . Repository
Sponsors
hosted by punkt.deTYPO3 and Open Source MagazineAOE Media

Extension Repository

The official extension repository only consists of freely available extensions. New documentation is rendered once a day.


Accessibility Glossary


InfoRatingsFeedback


  • Icon
    a21glossary
    Title
    Accessibility Glossary
    Extension key
    ( a21glossary )
    State
    beta, Not reviewed!
    Author
    Andreas Schwarzkopf
    Category
    fe
    Version
    0.4.10
    Manual
    Read online
    Downloads (total / this version)
    3532 / 1964
    Rating
    4.2 (5 votes)
    Updated
    28.02.2006
    Upload comment
    Bugfix: generateLink was corrected
    Description
    A glossary associated with automatical conversion of all abbreviations and acronyms in the special tags for accessibility issues.
  • Dependencies
    • depends on php 3.0.0-
    • depends on typo3 3.5.0-
    Reverse dependencies

    The following extension versions depend on this extension:

    Version history
    • 0.4.9: on default only the page type 0 is set additional page types can be included in the conversion additional config option for pidList - pagetree
    • 0.4.8: reupload of the previous version with the documentation
    • 0.4.7: Reupload of the older version with the documentation - it was lost with the previous update. Support of the multilanguage sites was improved.
    • 0.4.5: stdWrap configuration for type added - makes possible to use wraps within explanatory markup, e.g. for IE failover on abbr element. See example in the reference.
    Download extension

    Download compressed extension .T3X file

  • Filename Size View Date Download
    class.tx_a21glossary.php 9.7 K View 28.02.2006 Download
    ext_icon.gif 129 View 28.02.2006 Download
    ext_localconf.php 826 View 28.02.2006 Download
    ext_tables.php 1.4 K View 28.02.2006 Download
    ext_tables.sql 1.1 K View 28.02.2006 Download
    icon_tx_a21glossary_main.gif 126 View 28.02.2006 Download
    locallang_db.php 2.1 K View 28.02.2006 Download
    tca.php 6.8 K View 28.02.2006 Download
    doc/manual.sxw 52 K 28.02.2006 Download
    static/constants.txt 2.0 K View 28.02.2006 Download
    static/setup.txt 2.9 K View 28.02.2006 Download
    Preview for file a21glossary-0.4.10-static__setup__txt:
    
    # global accessibility glossary configurations
    
    config.tx_a21glossary {
       caseSensitiv = 1
       patternModifiers = s
       patternModifiersLink =
       excludePages = {$a21glossary.glossaryPage}
       excludePages.{$a21glossary.glossaryPage} = acronym,abbr,dfn
       pidList = {$a21glossary.storagePage}
       linkToGlossary = acronym,abbr,dfn
       linkOnlyIfNotEmpty = description
       typolink {
         parameter = {$a21glossary.glossaryPage}
         parameter.override.field = link
         additionalParams.field = uid
         additionalParams.wrap = &tx_a21glossary[uid]=|
         additionalParams.dataWrap = |&tx_a21glossary[back]={TSFE:id}
         useCacheHash = 1
         ATagParams = class="glossary"
       }
    }

    # configuration of the glossary list display
    tx_a21glossary_main = COA
    tx_a21glossary_main {
       10 = TEXT 
       10.if.isTrue.field = short
       10.field = short
       10.wrap = {$a21glossary.shortWrap}

       20 = COA
       20.wrap = {$a21glossary.restWrap}
       20 {
          10 = CASE
          10.key.field = shorttype
          10.stdWrap.if.isTrue.field = shorttype
          10.stdWrap.wrap = {$a21glossary.typeWrap}
          10.acronym = TEXT
          10.acronym.value = acronym of: 
          10.abbr = TEXT 
          10.abbr.value = abbreviation of: 
          10.dfn = TEXT       
          10.dfn.value = definition: 
       
          20 = TEXT
          20.if.isTrue.field = longversion
          20.field = longversion
          20.wrap = {$a21glossary.longWrap}

          30 = TEXT
          30.if.isTrue.field = description
          30.field = description
          30.wrap = {$a21glossary.descriptionWrap}
       }
    }
     
    # configuration of the glossary list plugin
    tt_content.list.20.a21glossary = CONTENT
    tt_content.list.20.a21glossary {
       table = tx_a21glossary_main 
       stdWrap.wrap = {$a21glossary.allWrap}
       stdWrap { 
         append = COA
         append.stdWrap.if.isTrue.data = GPvar:tx_a21glossary|back
         append.10 = TEXT
         append.10.value = {$a21glossary.back}
         append.10.wrap = {$a21glossary.backWrap}
         append.10.typolink.parameter.data = GPvar:tx_a21glossary|back
         append.10.typolink.useCacheHash = 1
         append.20 = TEXT
         append.20.value = {$a21glossary.allEntries}
         append.20.wrap = {$a21glossary.allEntriesWrap}
         append.20.typolink.parameter.data = TSFE:id
       }
       select {
          pidInList.field = pages
          orderBy = {$a21glossary.orderBy}
          where = exclude=0
          andWhere.data = GPvar:tx_a21glossary|uid
          andWhere.wrap = uid=|
          andWhere.required = 1
          languageField = sys_language_uid
       }
    }

    # CSS configuration
    plugin.tx_a21glossary._CSS_DEFAULT_STYLE (
       acronym, dfn, abbr, span.abbr { border-bottom: 1px dotted black; cursor: help; }
       dl.glossary dt { font-weight: bold; margin: 0 0 3px 0; font-style: normal; }
       dl.glossary dd { margin: 0 0 15px 20px; }
       dl.glossary .description { margin: 0; padding: 0; }
       dl.glossary .type { font-style: italic; padding: 0 3px 0 0; }
    )