[TYPO3-english] Automaketemplate and content

Tapio Markula tapio.markula at xetpoint.fi
Tue Oct 28 17:19:34 CET 2008


ktt kirjoitti:
> Hello,
> 
> I created a simple test template:
> 
> ----------------------------------------------------
> plugin.tx_automaketemplate_pi1 {
> content = FILE
> content.file = fileadmin/templates/index.html
> elements {
> DIV.id.logo = 1
> }
> relPathPrefix = fileadmin/TEMP
> }
> 
> page = PAGE
> page.typeNum = 0
> page.10 =< plugin.tx_automaketemplate_pi1
> ----------------------------------------------------
> 
> After that I created Text content in Pagecontent area.
> I can see my content referenced as tt_content:217
> 
> How could I assign this piece of content to my template?

something like

temp.logo {
table = tt_content
	select {
		pidInList = {$logoPid}
		orderBy = sorting
		where = uid = {$logoUid}
		#languageField = sys_language_uid
		}
}
in the main template object

subparts.logo < temp.logo


More information about the TYPO3-english mailing list