[TYPO3-english] Subpart markers removed, but no content

ktt kestutis98 at yahoo.com
Fri Nov 21 14:25:48 CET 2008


Hello,


I have a following code with automaketemplate:

----------------------------------------------------
plugin.tx_automaketemplate_pi1 {
content = FILE
content.file = fileadmin/SG/index.html
elements {
DIV.id.logo = 1
	}
}


tmp.logo = CONTENT
tmp.logo {
  table = tt_content
  select.pidInList = 1
  select.where = uid = 2
}


temp.mainTemplate = TEMPLATE
temp.mainTemplate {
  template =< plugin.tx_automaketemplate_pi1
  subparts.logo < tmp.logo
}

page = PAGE
page.typeNum = 0
page.1 < temp.mainTemplate
-------------------------------------------------------

But 
  subparts.logo < tmp.logo
ads nothing to the template, removes subpart markers only...
What could be wrong? UID and PID numbers are correct.

Thank you in advance,
ktt


      


More information about the TYPO3-english mailing list