[TYPO3-dev] Passing a value to a userfunction
Georg Ringer
spam at ringerge.org
Mon Dec 4 15:47:30 CET 2006
Hello,
I've got a problem with a variable in a user function:
I call it with this code:
pidInList.cObject = USER
pidInList.cObject {
userFunc = user_getpages->main
treeDepth = 3
#page = 14,21,22
#page.cObject = TEXT
#page.cObject.value 14,21,22
#page.data = register:meineID
}
I need the whole script in a Sitemap, so I get the selected pages in the
variable pages back and could use it like
temp.foo = TEXT
temp.foo.field = pages
but now I need this in pidInList.cObject.page but I don't get the selected
pages into the variable which I want to pass to the userfunction. You see my
none working examples :(
How would this work?
many thanks!
georg
More information about the TYPO3-dev
mailing list