[TYPO3-german] tt_news in einem Single-Page-Layout

Sven Lubenau sven.lubenau at hamburgefonstiv.com
Wed Sep 14 12:36:42 CEST 2011


> Hallo

ich habe einen Ansatz gefunden.
das funktioniert schonmal ganz gut. 

# LIST and SINGLE at the same page
[globalVar = GP:tx_ttnews|tt_news > 0]
# set code to SINGLE if the GETvar tx_ttnews[tt_news] exists
plugin.tt_news  {
  code >
  code = SINGLE
  excludeAlreadyDisplayedNews >
  excludeAlreadyDisplayedNews = 1
  forceFirstImageIsPreview = 1
  useMultiPageSingleView = 1
  maxWordsInSingleView = 400
  useParagraphAsPagebreak = 1
}
# clear main content in page object
temp.content >
# load tt_news as content to the page object
temp.content = COA
temp.content  {
  10 < plugin.tt_news 
  wrap = <div class="content">|</div> 
  }

# enable indexing of the SINGLE view
config.index_enable = 1
[global]


jetzt hab ich noch ne weitere Frage. 
Um bei den Links der Liste und der Single-Ansicht jeweils einen Anker zu der URL hinzuzufügen kann ich das mit TS ändern? WIe muss das wohl lauten?




More information about the TYPO3-german mailing list