Einzelnen Beitrag anzeigen
  #3  
Alt 15.11.05, 15:19
alphawolf alphawolf ist offline
Forum Zuschauer
 
Registriert seit: 15.11.05
Beiträge: 2

Hi Michael!

Vielen Dank für den Tip!!! Ich habs gefunden und es funktioniert!

Für alle anderen die auch mal auf das Problem stoßen - hier der Link:

http://lists.netfielders.de/pipermai...st/010100.html

Ich hab allerdings nur "img" aus dem Array gelöscht.

Zitat:
Someone wrote to me asking how this effort turned out...

I did write to Jan-Erik who indicated that he thought there was no built in
flag to disable embedded images. But he suggested I look at
t3lib/class.t3lib_htmlmail.php. So I hacked around a bit until I found
something that disabled the embed. There may be a better way, but this is
what I was able to find. FYI This method still embeds CSS stylesheets,
which are handled in a seperate part of the function in question. I was
happy about that.

Since I have direct_mail installed globally, I had to work with
typo3/t3lib/class.t3lib_htmlmail.php (t3lib/class.t3lib_htmlmail.php wasn't
getting me anywhere!).

I found this function: extractMediaLinks()

This line: $attribRegex =
PHP-Code:
$this->tag_regex(Array("img","table","td","tr","body","iframe","script","input","embed")); 
I replaced that line with: $attribRegex =
PHP-Code:
$this->tag_regex(Array("nonexistenttaggg")); 
It's just a hack and will be overwritten if you update the extension via
TER. I would be glad to hear if there is a better way...

I hope this helps someone!

Chris

Geändert von Junior (18.01.06 um 08:48 Uhr).
Mit Zitat antworten