[TYPO3-core] RFC Bug #11062: CONTENT can't select records from rootpage
Bernhard Kraft
kraftb at kraftb.at
Sat May 9 20:32:00 CEST 2009
Hello !
This is a SVN patch request.
Type: Bugfix
Bugtracker reference:
http://bugs.typo3.org/view.php?id=11062
http://bugs.typo3.org/view.php?id=10050 (Fixed by Oliver Hader)
Problem:
It is not possible to select records other than "pages" from the
root-page using the "CONTENT" object. But this is quite useful for
generating option-tags of countries for example:
-----------------------
lib.register.select.country_options = CONTENT
lib.register.select.country_options {
table = static_countries
select {
pidInList = 0
orderBy = cn_short_local
selectFields = cn_short_local,uid
}
renderObj = TEXT
renderObj {
dataWrap = <option value="{field:uid}">{field:cn_short_local}</option>
}
}
-----------------------
Solution:
This is already made partly possible by patch 10050 by Oliver Hader.
Remove the check for table "pages" introduced by 10050. See attached patch.
greets,
Bernhard
--
Freiheit ist immer Freiheit des Andersdenkenden.
Rosa Luxemburg, 1871-1919
--------------------------------------------------
www.think-open.at
More information about the TYPO3-team-core
mailing list