[Typo3] How configure RTE so that links are saved as Typolink: <LINK>
Bernhard Kraft
kraftb at kraftb.at
Sat Sep 24 22:47:07 CEST 2005
Stefan Bothner | [m]zentrale wrote:
> i have developed a own extension. The Links
> from RTE are saved as a-tags in DB, but i want
> to configure RTE so that all links are saved
> as typolink, how could i do that.
Do it wiht the kickstarter by setting the "Rich Text Editor Mode"
select-box of the field to
"Typical basic setup (new 'Bodytext' field based on CSS Stylesheets)"
Or by hand:
In your TCA there is something like:
'0' => Array('showitem' =>
'title;;1;;,type,editlock,bodytext;;;richtext[paste|bold|...|table|image]:rte_transform[flag=rte_enabled|mode=ts];...'),
Look closer at:
rte_transform[flag=rte_enabled|mode=ts]
and set "mode=ts" to
"mode=ts_css"
and add
"|imgpath=uploads/tx_myext/rte/"
so images get stored in the correct path.
greets,
Bernhard
More information about the TYPO3-english
mailing list