[Typo3] htmlArea RTE Extension
Marco Bascietto
m.bascietto at tele2.it
Wed Feb 23 15:06:23 CET 2005
Hi,
> I'd like to use the htmlArea RTE Extension because of the table editing
> features, which work very well. However, for some reason the hyperlink and
> the image features generate a nasty error message -
>
> *********
> Notice: Use of undefined constant TYPO3_MOD_PATH - assumed 'TYPO3_MOD_PATH'
> in c:\inetpub\wwwroot\mcnfife\typo3conf\ext\rtehtmlarea\t3_popup.php on line
> 43
>
Just happened to me a few minutes ago.
As the error says the constant TYPO3_MOD_PATH is declared without
quotes.
Replace the 'if' block in lines 42:46 of ext\rtehtmlarea\t3_popup.php
with:
if( strstr(MY_PATH_thisScript, 'typo3conf') ) {
define('TYPO3_MOD_PATH', "../typo3conf/ext/rtehtmlarea/");
} else {
define('TYPO3_MOD_PATH', "ext/rtehtmlarea/");
}
--
Marco Bascietto <m.bascietto at tele2.it>
More information about the TYPO3-english
mailing list