[TYPO3] changing the <title> tag

Tapio Markula tapio.markula at atwebteam.com
Sun Oct 15 22:56:00 CEST 2006


Rosina Bignall kirjoitti:
> I found this post in the archives: (Apr 2, 2005)
> 
> ------
> 
> Rimas Cuplinskas cuplinskas at uni-bonn.de
> Sat Apr 2 18:11:20 CEST 2005
> 
> OK, my first plea for help!
> 
> By default, Typo3 generates the <title>-tag to include the Site name and 
> current page title (e.g. "MySite.com: CurrentPage".
> 
> I need to have the <title>-tag include the PATH to the current page as 
> well (just as in the URL when using RealURL).
> 
> Here's an example...
> 
> Backend hierarchy:
> -MySite.com
> ---Category1
> -----...
> -----Subcategory3
> --------CurrentPage
> 
> Present <title>-tag: "MySite.com: CurrentPage"
> 
> Preferred <title>-tag: "MySite.com: Category1 - Subcategory3 - CurrentPage"
> 
> How can I get this done??? Sorry if the solution is very simple, I 
> sincerely combed the Web, studied TSref, and searched the List 
> archives... alas to no avail :(
> 
> Thanks in advance!
> Rimas
> 
> -----
> 
> I found another post stating that it was answered in t.german.  I can 
> read enough german I'd probably understand it, but I couldn't find it.
> 
> So, does anyone have a solution to doing this?  I want to do something 
> similar, but rather simpler:
> 
> <title> MySite.com: Page title - Page subtitle </title>
> 
> Can someone tell me a way to do this?
> 
> I did find the solution for making it be the subtitle or the title, but 
> not a way to have both.
> 
> thanks
> Rosina
> 

You can build title from pieces and one of them can be TMENU object but 
you must define NO.doNotLinkIt=1



More information about the TYPO3-english mailing list