[Typo3] htmlArea RTE Extension
Roberts, Emma
Emma.Roberts at isd.csa.scot.nhs.uk
Wed Feb 23 15:37:58 CET 2005
Thank you so much Marco!
That has been bugging me for ages.
I knew it would be something simple. Wonder why it hadn't been fixed in the
extension...
Emma Roberts
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de]On Behalf Of Marco
Bascietto
Sent: 23 February 2005 14:06
To: TYPO3 English
Subject: RE: [Typo3] htmlArea RTE Extension
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>
_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
_________________________________________________________________
NHS National Services Scotland Disclaimer
The information contained in this message may be confidential or
legally privileged and is intended for the addressee only. If you have
received this message in error or there are any problems please notify the
originator immediately. The unauthorised use, disclosure, copying or
alteration of this message is strictly forbidden.
_________________________________________________________________
More information about the TYPO3-english
mailing list