[TYPO3-english] xclassing tx_news

Xavier Perseguers xavier at typo3.org
Mon Nov 11 12:25:54 CET 2013


> I want to xclass Tx_News_ViewHelpers_LinkViewHelper->render method. I
> need to do it with TYPO3 4.5.

The proper way would be one of those:

1) Create your own LinkViewHelper (possibly subclassing original to
prevent you from copying lots of code) and use it in your templates
instead of <n:link

2) Ask for additional options for this viewhelper in the EXT:news'
bugtracker on Forge, ideally providing a patch.

Kind regards

Xavier Perseguers
Release Manager TYPO3 4.6

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

More information about the TYPO3-english mailing list