Issue Bug Closed

#16471Selection of Table-Fields does not work in TS

Noel Bossart 08/15/06, 15:09 updated 09/05/11, 10:02

Description

If you want to read a Field from a Table in the DB, it does just work, if the Target is a SUBPAGE of the calling Page. For example:

- Home < Works
– Projekts < don’t work
– Team < don’t work
– Location Finder <- targetUID
– USA < don’t work
– Europe < don’t work

If i want to display the title of the “Location Finder” Page in my Template, this works only on HOME, on every other Page it does not because “Location Finder” is not a Subpage of them. Not even on the Target-Page self:

lib.myObj = CONTENT
lib.myObj = {
table = pages
select.where = uid={$targetUID}
renderObj = TEXT
renderObj.field = title
wrap =

|


}

I suppose it’s not the way it should work?!

Workarount can’t respect languages:
lib.myObj = RECORDS
lib.myObj {
source = {$targetUID}
tables = pages
conf.pages >
conf.pages = TEXT
conf.pages.field=title
wrap =

|


}

Does not work in 4.0.1 too.
(issue imported from #M4046)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.