[TYPO3] Adding page content dynamically

Tomas Mrozek mail at cascaval.com
Tue Sep 12 21:46:36 CEST 2006

My aim:
I need to add content from another page according to certain conditions.

The conditions:
If GET variable named 'myVariable' is set, look up the 'myTable' and
find page uid in 'myColumn'. Then add content from the page with uid
that you found.

I tried to play with TS conditions and CONTENT cObject:

[globalVar = GP:myVariable > 0]
  subparts.MARKER = CONTENT
  subparts.MARKER.table = tx_myTable

...but I think I am on a completely wrong track.

Wanted advice:
Please, could anyone tell me what approach would be best and possibly
generously provide an example?

Is it possible to do that with TS only?
Is it possible to do it with help of my own PHP code?

Thank you in advance for any hint!

Tomas Mrozek

More information about the TYPO3-english mailing list