Here is a page with some Typoscript examples. We are not Typoscript experts at this point, but the intent is to provide some helpful information for those who may need it. The important thing is that all of these examples are copied and pasted directly out of pages that work.
Add this to the page's template in Setup:
#Page Title
Titlelib.pagetitle = TEXT
lib.pagetitle.data = page:title
lib.pagetitle.htmlSpecialChars = 1
Add this to the page's template in Setup:
#Remove Page Title
lib.pagetitle >
Add this to the page's template in Setup:
#Page Title
lib.pagetitle = TEXT
[loginUser = *]
lib.pagetitle {
data = TSFE:fe_user|user|first_name
wrap = Welcome |!
}
lib.pagetitle.htmlSpecialChars = 1
[else]
lib.pagetitle {
data =
wrap = Welcome!
}
[end]
NOTE: The first name is cached. So logging out and logging back in as another user may cause the name to remain as the first user! We replaced this with a non-caching front-end plugin until we figure out how to clear user cache in Typoscript.
Add this to the page's template in Setup:
#Page Title
lib.pagetitle = TEXT
lib.pagetitle {
data = page:title
wrap = <table cellpadding="0" cellspacing="0"><tr><td bgcolor="#DCDCDC">Training Manual</td></tr><tr><td>|</td></tr></table>
}
lib.pagetitle.htmlSpecialChars = 1