[TYPO3-german] Sprunglink innerhalb einer Seite #123
Ulrich Fischer
ulrich-fischer at gmx.net
Thu Apr 5 07:44:58 CEST 2007
Hi,
hier meine Lösung.
Mit Typoscript scheint es allein nicht möglich zu sein?
Daher entferne ich jetzt das $GLOBALS['TSFE']->anchorPrefix
mit einer User-Function. Da ich tx_dhlinklayout im Einsatz
habe musste sich es in class.tx_dhlinklayout.php einbauen:
$anchorPrefix = $GLOBALS['TSFE']->anchorPrefix;
$content["url"] = str_replace($anchorPrefix, '', $content["url"]);
return '<a href="'.$content["url"].'"'.$content["targetParams"].'
'.$content["aTagParams"].'>';
Ein Hinweis, wie man eine entsprechende Funktion alleine einbinden
kann, findet man hier:
>
http://www.typo3wizard.com/de/snippets/cool-stuff-typoscript/stdwrap-support-fuer-typolink-atagparams.html
Schöne Grüße
Ulrich
--
http://www.sunfish.de
More information about the TYPO3-german
mailing list