[TYPO3-english] Replace Author Marker without BY in Single View (tt_news)

Jigal van Hemert jigal at xs4all.nl
Thu Jun 24 08:01:32 CEST 2010


Orish Shrestha wrote:
> Is there a way to avoid By: infront of Author's name in single view mode of
> tt_news. The word "By:" is not in the template and did a search for the word
> everywhere inside tt_news folder but couldn't find anywhere. I wonder where
> that word is getting appended.

It's the language label "preAuthor" defined in pi/locallang.xml
You can override it in TypoScript:
	plugin.tt_news._LOCAL_LANG.default.preAuthor = ...

Additionally a space is added by
	plugin.tt_news.displaySingle.preAuthor_stdwrap.noTrimWrap = || |
so you can clear that one if you want to get rid of the space:
	plugin.tt_news.displaySingle.preAuthor_stdwrap >

HTH

-- 
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh


More information about the TYPO3-english mailing list