Menu


How can i modify the title of a page to include title of current page and parent page



If you want to alter the title displayed in browser title bar to include a custom text (Example:com), and the title of parent page and current page, you can do it with the following typoscript code


page.headerData.1 = COA
page.headerData.1{
10 = TEXT
10.data = leveltitle:-2
10.noTrimWrap = | |: |
20=TEXT
20.data = page:title
}
page.headerData.1.wrap= <title>Example.com: |</title>



So your title will look like: Example.com: Parent page : Current page






Google Search

 
wiki.lacisoft.com
WWW
2009-2011 (c) Lacisoft.com