Articles on globalvar typoscript

TYPO3: tt_news LIST and SINGLE at the same page

The following TS code enables the feature of showing the tt_news list and the tt_news single view at the same page. # Clear the code field plugin.tt_news.code > plugin.tt_news.code = LIST # Prevent indexing of the LIST view config.index_enable = 0   [globalVar = GP:tx_ttnews|swords = ] # Do nothing (reverse hack) [else] # Set More >

TYPO3: Copyright Notice with Automatic Year Update and Secondary Language Support

The following TypoScript shows how to make a copyright notice, which by itself updates the year to the current year. ## Copyright Notice [Begin] # Automatic year update lib.copyright = TEXT lib.copyright.data = date:U lib.copyright.strftime = %Y lib.copyright.wrap = <p id="copyright"> | &copy; Firma </p> # secondary language copyright notice [globalVar = GP:L = 1] More >

TYPO3: Setting up secondary language

## Language settings [Begin] config {         linkVars = L         sys_language_uid = 0         language = en         locale_all = english         sys_language_mode = content_fallback         sys_language_overlay = 1 } [globalVar = GP:L = 0] config More >