[TYPO3-templavoila] use pagecontent:header in TypoScript Object Path

Valery Romanchev info at typo3lab.ru
Tue Jan 15 21:28:04 CET 2008


Styrmir Magnússon пишет:
> Hello all, and happy new year
> 
> I am looking for a solution to show title of pagecontent from 
> field_content which is type Content Elements in field_title which I 
> think should be TypoScript Object Path.
> 
> So the page would look like this
> 
> Title [from pagecontent:header]
> 
> [Menu items]
> 
> Title [hidden]
> This is the pagecontent This is the pagecontent
> This is the pagecontent This is the pagecontent
> This is the pagecontent This is the pagecontent
> 

In TS setup:

tt_content.templavoila_pi1 {
  10 = LOAD_REGISTER
  10 {
   fce1_header.field = header
  }
}

lib.fce1_title = TEXT
lib.fce1_title.data = register:fce1_header


Then you can use  lib.fce1_title  in DS

Regards,
Valery


More information about the TYPO3-project-templavoila mailing list