[TYPO3] External Link Typoscripting

Xavier Perseguers typo3 at perseguers.ch
Thu Oct 2 08:33:52 CEST 2008


Hi Doug,

> When a person clicks on a certain page on our site a The Typoscript 
> setup for that page calls a PHP script that records some information 
> about the session (the user has to be logged in so we record the uid and 
> the pid in a mysql table).
> 
> A bit of a problem I ran into is that if the page the person is clicking 
> on is an External URL the TypoScript Setup isn't executed and thus our 
> PHP script that records the session isn't executed.
> 
> Can anyone suggest a work around for this?

Redirect the person to one of your script, record what you wish and then 
redirect to the external URL (given as parameter of your "recording 
script"). This is the standard method to achieve this goal.

HTH

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html


More information about the TYPO3-english mailing list