TYPO3 Reea Blog

This will be shown to users with no Flash or Javascript.

Preluare Page Title

Acest script se poate folosi unde e nevoie să apară automat titlul paginii, ca h1 de exemplu.


lib.title = COA
lib.title {
  10 = HTML
  10 {
    value.data = page:title
  }
}

Config pagetitle


config.noPageTitle = 2
page.headerData.1 = TEXT
page.headerData.1.field = subtitle // title
page.headerData.1.wrap = <title>Titlu Site | </title>


page.headerData.1 = COA
page.headerData.1 {
	5 = HTML
	5.value (
	Titlu Site 
	)
	10 = TEXT
	10 {
	data = levelfield : -2 , title
	#field = subtitle // title
	stdWrap.wrap =|
	|#stdWrap.case = upper
	}
	15 = HTML
	15.value (
	 -  
	)
	20 = TEXT
	20 {
	data = levelfield : -3 , subtitle , slide
	#field = subtitle // title
	stdWrap.wrap =|
	#stdWrap.case = upper
	}
}
page.headerData.1.wrap = <title>|</title>

Notes: In order to enable a field for sliding add the following to you typo3conf/localconf.php


$TYPO3_CONF_VARS['FE']['addRootLineFields'] = ',subtitle,nav_title';
blog comments powered by Disqus