Срабатывает конструкция
temp.rew = COA
temp.rew {
10 = TEXT
10.data = DB:be_groups:{$begroupsuid}:title
}
, где {$begroupsuid} - код группы
Встает вопрос как внедрить в эту строку page: perms_groupid?
Вариант с применением RECORDS не проходит:
temp.wer = RECORDS
temp.wer {
tables=be_groups
source.data=page: perms_groupid
# source=2
conf.be_groups=TEXT
conf.be_groups.field=title
}
Вырезка из TSREF в разделе RECORDS:
Цитата:
tables - List of accepted tables. If any items in the ".source"-list is not prepended with a tablename, the first table in this list is assumed to be the table for such records.
Also tablenames configured in .conf is allowed.
|
Получается be_groups не прописан в .conf?
Вариант с CONTENT и select тоже не пройдет:
temp.memberlist = CONTENT
temp.memberlist{
table = be_users
select {
orderBy = username
}
renderObj=COA
renderObj{
10=TEXT
10.field=username
}
}
, так как:
Цитата:
The table, the content should come from.
In standard-configurations this will be "tt_content"
NOTE: Only tables allowed are “pages” or tables prefixed with one of these: “tt_”, “tx_”, “ttx_”, “fe_”, “user_”
|