donators

n@work Internet Informationssysteme GmbH
Your ad here

supported by

 TYPO3 Hamburg
 TYPO3 Anbieter

Advertising

How to avoid breaking of links in emails?

By: Thomas Hempel

21.07.05 09:19 Age: 3 yrs

Hi,

today I want to start the day with a small tutorial. A collegue of mine (thank you Andi) has found out, how you can avoid that links that where generated by TYPO3 are broken in emails. A good example is the newsletter registration. If you don't configure the links correctly the user will get a confirmation link like:

www.mypage.de/index.php&
rU=203&fD[_FIELDLIST]=uid&fD[hidden]=0&aC=118ebe13

That can't be the kind of link you want! But there is a feature in TYPO3 to avoid this. It calculates a checksum from the arguments and save thaem in the database. Now the link only contains this checksum. So it's shorter and won't be broken in the mail client. Iff the user clicks on the link, TYPO3 searches for teh checksum in the database and fetches the orginal arguments and loads the needed page.

All you have to do to enable this feature is to add the following line to your TypoScript Setup:

config.notification_email_urlmode = all

The value for this option can be

  • empty: The URL won't be touched at all
  • <strog>76: Links that are longer 76 chracters are stored in the database
  • <strog>all: All links that starts with "http://" are stored in the database

 

I hope that this small How-To helps those people who doesn't know this before! :-)

 

 

Greets,

Thomas

Leave a Reply

You have to activate JavaScript to post comments!

Calendar

July 2005
M T W T F S S
« Jun   Aug »
 123
04050678910
11121314151617
18192021222324
25262728293031

Latest comments

  • Projektowanie Stron www

    Very interesting articles. Nice graph: ) Note 4 Your blog is 8/10: D

  • Mapa Karpacza

    Good blog. Nice articles. It's very interesting...

  • G?ry

    Good blog. Nice articles. It's very interesting...

  • Karpacz Noclegi

    Very Nice Blog!

  • Ron

    Thanks, Thomas. This is a big help. Some folks might need to know that when they are setting up the ...

Advertising