[Typo3] Content of another page

Jochen Rieger j.rieger at connecta.ag
Fri Nov 25 01:29:00 CET 2005


Hi Pierre,

maybe that'll help ya out:

temp.contentwhatever.1 = CONTENT
temp.contentwhatever.1 {

	table = tt_content

	select.orderBy = sorting
	select.where = pid=1111
	select.languageField = sys_language_uid
}

then, assign this in an extension template especially on your page and 
adjust the PID in the WHERE statement to the PID of the page of which 
you want to insert the content.

Not tested (sorry, it's late at night! ;) ), but maybe this'll help ya 
to find a solution.

if you want to insert the above in an extension's PHP code, well, I 
don't know, just use some appropriate functions of the API to get the 
records from the page desired.

good nite,
Jochen


Pierre Rouwens schrieb:
> Hi there,
> 
> I need to display the content of another page in one page... some kinds 
> of previsualisation...
> I've search trough the core api but i'm lost here... what is the better 
> way for you ??, i'm in a plugin context in an extension.
> I've tried to understand something about $this->cObj ... but i'm not 
> sure that's what i need...
> Any clues please or some infos about it
> 
> Thanks a lot in advance.
> 
> Pierre



More information about the TYPO3-english mailing list