[TYPO3] Htmlarea
Livius Agrippa
livius_agrippa at yahoo.com
Mon Jul 31 09:25:28 CEST 2006
Hi,
I want to insert new class anchor for links in Htmlarea and I inserted
this code in TSconfig of the root page.
#RTE.default.hideButtons = fontsize
RTE.default.keepButtonGroupTogether = 1
RTE.default.defaultLinkTarget = home
RTE.default.proc.entryHTMLparser_db = 1
RTE.default.proc.entryHTMLparser_db.htmlSpecialChars = -1
RTE.default.contentCSS = fileadmin/template/res/stylesheethtmlarea.css
RTE.default.useCSS = 1
RTE.classesAnchor {
externalLink {
class = external-link
type = url
image =
altText =
titleText =
}
externalLinkInNewWindow {
class = external-link-new-window
type = url
image =
altText =
titleText =
}
internalLink {
class = internal-link
type = page
image = EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/img/pdf_format.gif
altText =
titleText =
}
internalLink {
class = in-text-link
type = page
image = EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/img/pdf_format.gif
altText =
titleText =
}
internalLinkInNewWindow {
class = internal-link-new-window
type = page
image =
altText =
titleText =
}
download {
class = download
type = file
image =
altText =
LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:download_altText
titleText =
}
download {
class = pdfdownload
type = file
image = EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/img/pdf_format.gif
altText =
LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:download_altText
titleText =
}
download {
class = pptdownload
type = file
image = fileadmin/template/gif/ppt_format.gif
altText =
LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:download_altText
titleText =
}
download {
class = worddownload
type = file
image = fileadmin/template/gif/word_format.gif
altText =
LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:download_altText
titleText =
}
download {
class = exceldownload
type = file
image = fileadmin/template/gif/excel_format.gif
altText =
LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:download_altText
titleText =
}
download {
class = archivedownload
type = file
image = fileadmin/template/gif/zip_format.gif
altText =
LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:download_altText
titleText =
}
mail {
class = mail
type = mail
image = EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/img/mail.gif
altText =
LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:mail_altText
titleText =
}
}
RTE.default.classesAnchor = external-link, external-link-new-window,
internal-link, in-text-link, internal-link-new-window, download,
pdfdownload, pptdownload, worddownload, exceldownload, archivedownload, mail
RTE.default.classesAnchor.default {
page = internal-link
url = external-link-new-window
file = download
mail = mail
}
RTE.default.proc.allowedClasses (
external-link, external-link-new-window, internal-link, in-text-link,
internal-link-new-window, download, pdfdownload, pptdownload,
worddownload, exceldownload, archivedownload, mail,
csc-frame-frame1, csc-frame-frame2,
component-items, action-items,
component-items-ordered, action-items-ordered,
important, name-of-person, detail
)
But it doesn't work. In fact it is working but only for the last class
from every type. For example for download it works properly only the
class archivedownload.If I switch the calsses the last one works
properly. And for the other class in htmlarea appears that the image is
undefined.
And the other problem is: even if I put type file all the classes except
the last one appear also in the other tabs (internal link, external link
and mail).
Maybe someone had already this problem and knows an easy and good solution.
If this is a bug please confirm me because I already spent 2 days on
this problem.
I should also specify that I use Typo3 ver.3.8.0 and I verified this
with 4 versions of htmlarea (1.0.0, 1.1.3, 1.3.7, 1.4.1)
Best regards,
Livius
More information about the TYPO3-english
mailing list