[TYPO3] links in ext RTE field
Sander van Gelderen
mail at sandervangelderen.nl
Wed Dec 13 23:07:48 CET 2006
Yes, it does :)
Thank you Patrick
Share and enjoy!
-----Oorspronkelijk bericht-----
Van: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] Namens Sander van
Gelderen
Verzonden: woensdag 13 december 2006 16:33
Aan: 'TYPO3 English'
Onderwerp: Re: [TYPO3] links in ext RTE field
Hello Patrick,
I had made some progress on my own, got it to work like this:
require_once(PATH_t3lib.'class.t3lib_parsehtml_proc.php');
$this->parseObj = t3lib_div::makeInstance('t3lib_parsehtml_proc');
$text = $this->parseObj->TS_links_rte($textFromDB);
However, I also have realurl installed and the links stil appear as ?id=xxx
Will $this->pi_RTEcssText() also help me with realurl?
Thank you for your help so far,
I will experiment and and any further assistance is welcome,
Sander
-----Oorspronkelijk bericht-----
Van: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] Namens Patrick Broens
Verzonden: woensdag 13 december 2006 15:27
Aan: typo3-english at lists.netfielders.de
Onderwerp: Re: [TYPO3] links in ext RTE field
Hi Sander,
Although you have a working RTE in the backend, it doesn't mean it is
working in the frontend. Function $this->pi_RTEcssText() will process
the input string with the parseFunc function from tslib_cObj based on
configuration set in "lib.parseFunc_RTE" in the current TypoScript
template. This is useful for rendering of content in RTE fields where
the transformation mode is set to "ts_css" or so. Notice that this
requires the use of "css_styled_content" to work right.
Pass your content from the database through this function.
Patrick
Sander van Gelderen wrote:
> Hello list,
>
> I have developped an extension that adds a table, one of the table's
fields
> is of type 'Text Area with RTE'.
>
> All is well, except that links created in the editor are ignored when
> rendering the frontend.
> The editor appears to work in the backend, it has all my styles, button's,
> etc as I have configured.
> My regular Content elements 'text with image, etc' do not show this
problem.
> Both RTEs (extension and normal CE) look exactly alike, and links can be
> created and saved in both of them.
>
> Should I have chosen a different 'Rich Text Editor Mode' in the
kickstarter
> for that field?
>
> Thanks for any help,
>
> Sander
>
>
>
>
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list