Teaser
The more I see, the more I know
The more I know, the less I understand
clear

tt_news ist sicherlich eine "der" typo3 Extensions. Der Anpassung sind kaum Grenzen gesetzt, jedoch ist die Umsetzung von Wünschen auf dem ersten Blick nicht immer einfach. Hier ein Beispiel, wie folgende Anpassungen umgesetzt wurden:

  • "mehr" Link ausblenden, wenn kein Text vorhanden ist
  • "mehr" Link anpassen, je nachdem der User angemeldet ist oder nicht

 

Constants:

plugin.tt_news.file.templateFile = fileadmin/templates/tt_news_auto.tmpl
plugin.tt_news.wrap1 = <div style="font-size:12px; font-weight:normal;"> | </div>
// Wrap für Datum und Autor
# plugin.tt_news.wrap2 = <font face="Arial" size="4" color="green"> | </font>
plugin.tt_news.wrap3 = <font face="Arial" size="1" color="white"> | </font>

 

Setup:

plugin.tt_news.useSPidFromCategory = 1
plugin.tt_news.displaySingle.subheader_stdWrap = <strong> | <strong>
plugin.tt_news.displaySingle.subheader_stdWrap.wrap = <strong> | <strong>
plugin.tx_macinabanners_pi1.image.file.maxW = 620

[usergroup = *]
   plugin.tt_news._LOCAL_LANG.de {
    more = <p>Mehr Infos? Hier klicken!</p>
    }
[else]
    plugin.tt_news._LOCAL_LANG.de {
    more = <p> <strong> Für mehr Infos bitte einloggen </strong> </p>
    }
[global]

 
plugin.tt_news.displayList.subheader_stdWrap {
  append = TEXT
  append.data = register:newsMoreLink
  append.wrap = <span class=”myclass”>|</span>
  append.if.isTrue.field = bodytext

}