|
Deleted user
|
Hi,
in the manual section “Table Map TypoScript Reference” I read the property “tables.*.where“ has stdWrap.
The static version works correctly with:
[code]where = uid_foreign = 83[/code]
But if I write “uid_foreign = 83” in “myField” in the table pages and if I want get the text with data from myField this doesn’t work:
[code]where.data = page:myField[/code]
or
[code]where.stdWrap.data = page:myField[/code]
I try also this:
[code]
where.stdWrap.cObject = TEXT
where.stdWrap.cObject.value = uid_foreign = 83
[/code]
Nothing happens. Is there really stdWrap available?
Best
Mathew
|
|
Christoph Koehler
registered since: 10/24/2005
Posts: 383
|
Matthew,
I pass what we get from TS into the stdWrap function on the content object:
$where = $this->cObj->stdWrap($tconf['where'], $tconf['where.']);
The first argument is the stuff directly after "[..].where = foo", and the stuff inside the second argument is anything that comes after where, like "[...].where.foo = bar".
Unfortunately I don't know enough about TS stdWrap to help you out much, but as far as I can tell, you should be able to use stdWrap here. If you know your TS is correct and works other places, maybe you could help me get some simple test configs and the expected outcome, and I can check it out.
As it is now, I am not sure where to look to fix it.
Christoph
|