[Typo3] directMail + realURL

Olivier Dobberkau olivier.dobberkau at dkd.de
Fri Feb 18 10:44:22 CET 2005


Ingo Schmitt wrote:
> Hi there,
>
>
> we have installed TYPO3 3.7.0, RealURl and DirectMail.
>
> When fetching page content, directmail shows following URL to fetch
> the content:
>
> http://my.tdl.net/?id=29&type=99
>
> When opening this URL the mod rewrite conditions and realURL changes
> this to / and this isn't exactly what i want to have as content for my
> newsletter.
>
> The basic problem seams to be, that dmail isn't using the normal URL
> calls. Has anyone a fix or solved this problem ?

Hi Ingo.

LINE 256 of the Module

 // Here the single dmail record is shown.
   $this->urlbase = 
substr(t3lib_div::getIndpEnv("TYPO3_REQUEST_DIR"),0,-(strlen(TYPO3_MOD_PATH)+strlen(TYPO3_mainDir)));

   // [PATCH begin]
   // 2004.02.15 Olivier Dobberkau olivier.dobberkau at dkd.de
   // we have added index.php to the urlbase variable so
   // that dmai works with realurl. this is not the final patch, but a hack.
   $this->urlbase.="index.php";
   // [PATCH end]


Greetings from the TYPO3 Leaders in Rhein-Main... :-)

Olivier 





More information about the TYPO3-english mailing list