Показать сообщение отдельно
Старый 05.09.2006, 12:21   #3
Дылгеров Ц.В.
Senior Member
 
Регистрация: 14.11.2005
Адрес: Улан-Удэ
Сообщений: 158
Отправить сообщение для Дылгеров Ц.В. с помощью ICQ
По умолчанию

Срабатывает конструкция
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_”

Последний раз редактировалось Дылгеров Ц.В.; 06.09.2006 в 11:56
Дылгеров Ц.В. вне форума   Ответить с цитированием