[Typo3] How to Customize text for tt_news 'Latest' header?
Christopher
bedlamhotel at gmail.com
Sun Oct 30 20:07:47 CET 2005
Hi,
A couple of things about this thread:
First, this:
> > You can change this in the extensions's language definition file in
> > typo3conf/ext/tt_news/pi/locallang.php
...is very, very BAD advice. Upgrade the extension, and your
customizations will be GONE! TYPO3 provides an upgrade-proof method
[1] of doing this, so why not use it instead?
## Put this in the setup field of your TS template:
plugin.tt_news. _LOCAL_LANG.default.goToArchive = ‹ Article archive
> Ideally I'd like to have a custom text
> header for each one so the viewer knows the source of the news.
>
> Or, perhaps another solution is to hide the existing header with CSS,
> and in the BE replace it with text or an HTML object.
>
> Specifiying this in the flexform of tt_news would be a great mod.
No mods necessary. All of what you're describing is out-of-the-box
functionality. ###LATEST_HEADER### is a marker in the tt_news template
-- if you'd prefer not to see it, just remove it from the template
altogether (but again, NOT from the original template; make a copy and
use that one for modifications). For custom headers for each plugin on
a page, what happens when you type something into the header field in
the form (and choose any type but 'hidden')? ;-)
-Christopher
More information about the TYPO3-english
mailing list