[TYPO3-german] Lösung Redirect mit Parametern aus Typo3

Kay Strobach typo3 at kay-strobach.de
Thu Sep 15 20:14:10 CEST 2011


Hi,

was ist mit registern?
Damit sollte es gehen?!

Grüße
Kay

Am 15.09.2011 19:57, schrieb Olaf Schuemann:
> Hallo,
> 
> ich hatte das Problem einen bedingten Redirect auf eine Seite zu
> implementieren.
> 
> Mit TypoScript geht von Hause aus
> 
> config >
> config.additionalHeaders = Location: http://typo3.toaserver.de
> 
> was nicht geht ist, das ganze mit TypoScript bzw. StdWrap zu bearbeiten.
> Nach meinen Recherchen evt. in 4.6. als mal schaun.
> Dann soll es sowas wie
> config.additionalHeaders.stdWrap geben
> 
> Bis dahin muss man wohl den Umweg über ein PHP Script machen.
> 
> Folgendes habe ich implementiert
> 
> TypoScript
> 
> ...
> [globalVar = TSFE:type=20, TSFE:type=30]&&[globalVar =
> TSFE:page|tx_toageoextintegrate_toa_showmap=0]
> 
> config >
> page >
> page = PAGE
> page.20 = PHP_SCRIPT
> page.20.file = fileadmin/redirect.php
> [global]
> ...
> 
> PHP
> <?php
> ...
> $id=$GLOBALS['TSFE']->id;
> header("Location: /page.$id.0.html");
> exit;
> ?>
> 
> Vielleicht hilft das jemandem weiter ;-)
> 
> cu OLAF


-- 
http://www.kay-strobach.de - Open Source Rocks

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

Answere was usefull: https://flattr.com/profile/kaystrobach


More information about the TYPO3-german mailing list