[Typo3] substitute template markers

Jane Larsen noesgard at gmail.com
Tue Jun 28 12:52:47 CEST 2005


I know about the recommandation about not changing the php file I just 
wanted you to check if this was where you missing text were...

Try putting the code in setup... I don't always get success by using the 
constant section, this code is from a setup section:
plugin.tt_news._LOCAL_LANG.en.noNewsIdMsg =  

a setting you might consider using too, just for de in stead...

//Jane


On 6/28/05, mamax <markus.massak at dataport.at> wrote:
> 
> btw: the tt_news docs does not recommend modifying the locallang.php file 
> as
> it will be overwritten when updating the plugin. the recommended way is
> editing the site's template like ...
> 
> plugin.tt_news {
> _LOCAL_LANG.de {
> latestHeader = Das Allerneuste vom Neuen!
> }
> }
> 
> I additionally have these constants set:
> config.language = de
> config.locale_all = de_DE
> 
> But this does not show any difference on my system. The plugin still 
> renders
> for the english locale.
> Is it possible that these settings have not to be done in the CONSTANTS 
> but
> in the SETUP section?
> 
> max
> 
> 
> "Jane Larsen" <noesgard at gmail.com> schrieb im Newsbeitrag
> news:mailman.438.1119907419.7526.typo3-english at lists.netfielders.de...
> Have you checked out the "locallang.php" in the extension directory?
> 
> //Jane
> 
> On 6/27/05, mamax <markus.massak at dataport.at> wrote:
> >
> > hi all,
> >
> > i am modifing the html-template for the tt_news plugin.
> > it contains markers, e.g. in the line
> > <td valign="bottom">###GW3B### ###LATEST_HEADER######GW3E###</td>
> >
> > now i want to change the LATEST_HEADER text from "Breaking news" to, 
> let's
> > say "Good news".
> > how can i do that?
> >
> > (i didn't found that "Breaking news" string in my typo3 directory 
> neither
> > inside the db)
> >
> > thanx
> >
> > --
> > Markus Massak
> > dataport IT.Netzwerk
> >
> > www.dataport.at <http://www.dataport.at> <http://www.dataport.at>
> >
> >
> >
> > _______________________________________________
> > Typo3-english mailing list
> > Typo3-english at lists.netfielders.de
> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >
> 
> 
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>



More information about the TYPO3-english mailing list