[TYPO3] Random Text + Image

Tapio Markula tapio.markula at dnainternet.net
Mon Jun 12 22:51:27 CEST 2006


Scotty C wrote:
> Hey again,
> 
> OK it looks like I jumped the gun in celebrating. I'm
> trying to setup the TS (using ck_fortune as a
> template) so that the content element appears on every
> page, but I'm getting some weird error. Here's what I
> have in my TS so far:
> 
> ---------------------------------------
> includeLibs.ts_onetrandomcontent =
> EXT:onet_randomcontent/pi1/class.tx_onetrandomcontent_pi1.php

why just use CONTENT and
just refer to the content element's uid
subparts.FEATURE = CONTENT
  subparts.FEATURE {
...
}
  subparts.FEATURE something like

table = tt_content
	select {
		pidInList = 690
		where = uid=...
		}



More information about the TYPO3-english mailing list