[Typo3] RTE transformations and sg_glossary <lex> tags

Dave Green david.green at bris.ac.uk
Fri Jun 10 17:59:43 CEST 2005


Hi List,

I have the sg_glossary working on my site, but I'm having problems with 
the <lex> tag that displays links to the glossary on normal pages. In 
the RTE, if I try to create a glossary link inside a normal paragraph 
using the <lex>keyword</lex> convention it works fine and, on display, 
is converted to a proper glossary link as expected. If the same phrase 
is put into a <ul> list, the conversion fails and it is just written to 
the page as "<lex>keyword</lex>".  This looks to me like some issue with 
RTE transformations and <TYPOLIST>, but I can't find what's wrong.

I've got the lex tag into the RTE allowTagsInTypolists config and tried 
this for the RTE setup sections
    proc.entryHTMLparser_db
    proc.HTMLparser_rte
    proc.HTMLparser_db

I've tried everything I can find in the documentation.
Has anyone got any suggestions as t what should try next please?

Best wishes
David Green

Here's the important bits of my RTE setup

RTE.default {
    defaultLinkTarget =
    dontConvBRtoParagraph = 1
    proc.overruleMode = ts_css
    proc.preserveTables = 1
    proc.dontConvBRtoParagraph = 1
    proc.dontRemoveUnknownTags_db = 1
    enableWordClean = 1

    proc.entryHTMLparser_db = 1
    proc.entryHTMLparser_db {
       xhtml_cleaning = 1
       htmlSpecialChars = -1
       allowTags = [...long list of tags...], lex
       allowTagsOutside = [...long list of tags...], lex
       allowTagsInTypolists = [...long list of tags...], lex
       }
    proc.HTMLparser_rte {
       allowTags = [...long list of tags...], lex
       allowTagsInTypolists = [...long list of tags...], lex
       }
    proc.HTMLparser_db {
       allowTags = [...long list of tags...], lex
       allowTagsInTypolists = [...long list of tags...],lex
       }
}



More information about the TYPO3-english mailing list