[Typo3] ext: custom tags
Illes Muller
m_i at freemail.hu
Tue Mar 1 09:43:10 CET 2005
Dear List,
I would like to ask if anyone experienced the same problem with ext:
custom tags. Maybe the problem is in my configuration, but I cannot find
the problem.
Basically I would like to use your extension for displaying accronyms.
Defined a shorthand custom tag:
Tag: ODC
Result: <abbr title="Optical Distortion Correction">ODC</abbr>
Checked: Include in RTE, Allow RTE direct substitution
I placed the ODC text in a text content element, but the output is the
following:
<abbr title="Optical Distortion Correction"><abbr title="Optical
Distortion Correction">ODC</abbr></abbr>
It doubles my tag and places <br /> tags too.
Tried with another result (e.g. <b>ODC</b>) and received the same
duplicate effect, but when tried with normal text (Result: Optical
Distortion Correction), the output was normal.
Do you have any idea how to resolve this problem?
Thanks for your help in advance.
BR,
Illes
Configuration:
- Template Setup
lib.parseFunc_RTE.allowTags =
b,i,u,a,img,br,div,center,pre,font,hr,sub,sup,p,strong,em,li,ul,ol,blockquote,strike,span,h1,h2,h3,h4,h5,h6,abbr,acronym,mytag,bo
lib.parseFunc.allowTags =
b,i,u,a,img,br,div,center,pre,font,hr,sub,sup,p,strong,em,li,ul,ol,blockquote,strike,span,h1,h2,h3,h4,h5,h6,abbr,acronym,mytag,bo
- Root Page TSConfig:
RTE.default.contentCSS = fileadmin/template/gen.css
RTE.default.proc.allowTagsInTypolists =
br,b,i,u,a,img,span,div,p,bo,mytag,hr
# here the <bo> tag is included in the allowedClasses, for the SPAN tag
RTE.default.proc.allowedClasses = bo
#span class stilusok engedelyezese
RTE.config.tt_content.bodytext.proc.allowedClasses =
RTE.default.classesCharacter =
RTE.default.hideButtons = fontstyle, fontsize, lefttoright, righttoleft,
bgcolor
RTE.default.disableColorPicker = 1
Using Typo3 3.7.0, CSS styled content 0.2.2, htmlArea RTE and the latest
custom tags extension 0.5.1 from repository
More information about the TYPO3-english
mailing list