Tutorial by Examples

page = PAGE page.10 = TEXT page.10.value = HELLO WORLD Usually this typoScript snippets are added to Web >> Template >> Info/Modify >> setup This snippet opens a new PAGE object. Inside the PAGE object, the 10th entry is set to be a TEXT object. The value of thus TEXT object ...
Get current date and time lib.date = TEXT lib.date { data = date:U strftime = %d.%m.%Y %H:%M:%S wrap = Today is | } Get last login time and date from fe_users lib.date = TEXT lib.date { data = TSFE:fe_user|user|lastlogin strftime = %d.%m.%Y %H:%M:%S wrap = Last logi...
A link to any text by using typolink object lib.link = TEXT lib.link { value = Here is link text typolink { #You can give page uid or any external url here parameter = http://www.example.com/ #Target of link extTarget = _blank ...
Get image from file lib.myImage = IMAGE lib.myImage.file = fileadmin/My-Image.png lib.myImage.file.width = 100 lib.myImage.file.height = 100 Get image from page properties lib.pageImage = IMAGE lib.pageImage { file.import.data = levelmedia: -1, "slide" file.impor...
lib.pagetitle = TEXT lib.pagetitle.data = page : title
lib.currentURL= TEXT lib.currentURL.data = getIndpEnv:TYPO3_REQUEST_URL

Page 1 of 1