This shows how to place a news block on a webpage. When using TemplaVoila you can map tt_news LATEST as a TypoScript Object to a specific place in your HTML Template, and it’s possible to narrow it down to certain pages, where the LATEST Object is added in place of other content.
- ### News LATEST in left column on certain pids
- lib.newsLatest {
- code >
- code = LATEST
- pid_list >
- pid_list = 78,134 # the pids where news are stored
- catImageMode = 0
- catTextMode = 0
- }
- lib.sidebar < lib.newsLatest
- [else]
- # Put something else in the lib.sidebar
- temp.sidebar.value = <p>Something else</p>
- lib.sidebar < temp.sidebar
- [end]
Related Articles:
- TYPO3: tt_news LIST and SINGLE at the same page
- TYPO3: Changing the tt_news template markup
- TYPO3: How to make a path/breadcrumb in typoscript
- TYPO3/TypoScript: How to add Page Updated Timestamp
- TYPO3: XHTML Valid 3 Level Menu in Typoscript
- TYPO3: Making a simple menu as an unordered list in XHTML
- TYPO3: Setting up secondary language
- TYPO3: Setting XHTML 1.1 DOCTYPE
- TYPO3: Copyright Notice with Automatic Year Update and Secondary Language Support
Hi,
I have been looking for this. TYPO3 is really hard. thanks.