[Typo3] How configure RTE so that links are saved as Typolink: <LINK>
Stefan Bothner | [m]zentrale
stefan at m-zentrale.de
Sun Sep 25 17:37:31 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
Hi Bernhard,
thanks for your answer, but this does not work. I've
changed the settings but links already saved as a-tag.
Any other suggestions?
Kind regards
Stefan
More information about the TYPO3-english
mailing list