[TYPO3-english] htmlArea RTE and Glossary Extended ( sg_glossary ): custom tag <lex>
Jogvan Olsen
jo at atlanticvideo.dk
Thu Sep 17 21:54:30 CEST 2009
Hi list
I found the solution, so now I have this in my TSconfig, and my <lex>
tag is working...
-----------
RTE.default.proc.dontUndoHSC_db = 0
RTE.default.proc {
HTMLparser_rte.tags.lex.protect = 1
overruleMode = ts_css
allowTags (
a, abbr, acronym, address, b, bdo, big, blockquote, br, caption, center,
cite, code, col, colgroup, del, dfn, div, em, font, h1, h2, h3, h4, h5,
h6,hr, i, img, ins, kbd, label, li, link, meta, ol, p, pre, q, samp,
sdfield,small, span, strike, strong, style, sub, sup, table, thead,
tbody, tfoot,td, th, tr, title, tt, u, ul, var, lex
)
entryHTMLparser_db {
allowTags < RTE.default.proc.allowTags
keepNonMatchedTags = protect
}
}
RTE.default.proc.entryHTMLparser_db.htmlSpecialChars = -1
-----------
Regards
Jogvan Olsen
Jogvan Olsen wrote:
> Hi List
>
> I am trying to set up 'Glossary Extended ( sg_glossary )' and everything
> work fine, except form the <lex> tag in htmlArea RTE.
>
> Every time I type '<lex>keyword</lex>' it is stored in the database as
> '<lex>keyword</lex>' (< > are converted to < >).
>
> When I disable RTE, '<lex>keyword</lex>' is stored in the database as
> typed.
>
>
> I have the following in my TSconfig an TS setup, but I am missing
> something/doing something wrong. Can anyone guide me to solve this problem?
>
>
>
> ----------
> In my root page TSconfig:
>
> RTE.default.proc {
> HTMLparser_rte.tags.lex.protect = 1
> overruleMode = ts_css
> allowTagsOutside = lex
> allowTags = a, abbr, acronym, address, b, bdo, big, blockquote, br,
> caption, center,cite, code, col, colgroup, del, dfn, div, em, font, h1,
> h2, h3, h4, h5, h6,hr, i, img, ins, kbd, label, li, link, meta, ol, p,
> pre, q, samp, sdfield,small, span, strike, strong, style, sub, sup,
> table, thead, tbody, tfoot,td, th, tr, title, tt, u, ul, var, lex
>
> entryHTMLparser_db {
>
> allowTags < RTE.default.proc.allowTags
> keepNonMatchedTags = 1
> }
> }
>
> ------------
>
>
> ------------
> In My TS setup:
>
> plugin.tx_sgglossary_pi1.PIDitemDisplay = 455
> parseFunc:includeLibs.tx_sgglossary_LinkClass =
> EXT:sg_glossary/prg/class.tx_sgglossary_LinkClass.inc
>
> standard:tt_content.text.20.parseFunc.tags {
> lex.stripNL = 0
> lex = PHP_SCRIPT
> lex.file = EXT:sg_glossary/prg/lexlink.inc
> }
>
> lib.parseFunc_RTE.tags {
> lex.stripNL = 0
> lex = PHP_SCRIPT
> lex.file = EXT:sg_glossary/prg/lexlink.inc
> }
>
> lib.parseFunc_RTE.allowTags = a, abbr, acronym, address, b, bdo, big,
> blockquote, br, caption, center,cite, code, col, colgroup, del, dfn,
> div, em, font, h1, h2, h3, h4, h5, h6,hr, i, img, ins, kbd, label, li,
> link, meta, ol, p, pre, q, samp, sdfield,small, span, strike, strong,
> style, sub, sup, table, thead, tbody, tfoot,td, th, tr, title, tt, u,
> ul, var, lex
> -----------------
>
>
> I use
> TYPO3 ver. 4.2.6
> htmlArea RTE ver 1.7.9
> sg_zfelib ver. 1.1.755
> sg_glossary ver. 1.0.701
> sg_div ver. 0.3.400
>
>
> Thanks in advance
> Jogvan Olsen
More information about the TYPO3-english
mailing list