[TYPO3] direct mail doesnt read newsletter url correctly...
k.lechelt at gmx.de
Tue Mar 7 16:59:54 CET 2006
ok i found the solution:
in the file 'class.mod_web_dmail.php'
we have this on line 261:
which gave mi an broken url. i substituted it with:
$this->urlbase = t3lib_div::getIndpEnv('TYPO3_SITE_URL').'index.php';
which is also much less complicated. now it works.
but why did the programmer dont use TYPO3_SITE_URL in the first place???
Kahlil Lechelt wrote:
> i am configuring direct_mail according to marlies cohens tutorial.
> when i try to render a newsletter then the module doesnt put the url
> together correctly.
> for instance:
> correct url would be: "www.mysite.net/www2/index.php?id=28"
> i get "www.mysite.nindex.php?id=28" in the module and of course i get a
> failiure if i try to render that...
> did anybody encounter the same problem?
> can somebody help me?
More information about the TYPO3-english