[TYPO3-german] typolink unserfunc nur für externe Links

Susanne Wiese s.wiese at netcologne.de
Fri Jun 16 09:06:14 CEST 2006


Hallo,

ich würde gerne die Extension dh_linklayout so umschreiben, daß Sie nur 
bei externen Links zur Anwendung kommt.
Leider komme ich mit meinen Versuchen einfach nicht weiter.
Hat vielleicht jemand ne Idee, wie ich die parseFunc dazu bringen kann, 
nur für externe Links auf die userfunc zurückzugreifen.
Der bisherige code für alle Links:

includeLibs.dh_linklayout = EXT:dh_linklayout/class.tx_dhlinklayout.php

tt_content.text.20.parseFunc {

   tags.link.typolink.userFunc = tx_dhlinklayout->main
   tags.link.typolink.userFunc {
   ...
   }
   tags.typolist.default.parseFunc.tags.link.typolink.userFunc < 
.tags.link.typolink.userFunc
}
lib.stdheader.stdWrap.typolink.userFunc < 
tt_content.text.20.parseFunc.tags.link.typolink.userFunc


Danke
Susanne



More information about the TYPO3-german mailing list