Russian TYPO3 community Форум больше не используется. Присоединяйтесь к каналу #community-ru в Slack for TYPO3 community  

Вернуться   Russian TYPO3 community > Обсуждение общих технических вопросов > FAQ (Часто задаваемые вопросы)

Ответ
 
Опции темы Опции просмотра
Старый 22.05.2006, 18:51   #1
Awdey
Новенький
 
Регистрация: 22.05.2006
Сообщений: 2
По умолчанию Content HEADER в FCE

Подскажите как зацепить в FCE поле из контента, например header.
Awdey вне форума   Ответить с цитированием
Старый 22.05.2006, 20:14   #2
Valery Romanchev
Administrator
 
Аватар для Valery Romanchev
 
Регистрация: 23.08.2003
Адрес: Moscow, Russia
Сообщений: 1,926
Отправить сообщение для Valery Romanchev с помощью Skype™
По умолчанию

до последнего времени - никак.
я эту тему выяснял месяцев 8 назад.

Сейчас это только в CVS:

Цитата:
--------------------
Yesterday I commited one [long awaited] *experimental* feature to CVS. I
must repeat: this feature is experimental. It means that it can change
in any moment or even temporarily disappear.

The feature is about accessing "parent" record from <TypoScript> section
in DS. I.e. now you can access fields from tt_content and pages, where
current flexform belongs.

Here is an example how to use it:

<TypoScript>
10 = TEXT
10.data = register:tx_templavoila_pi1.parentRec.uid
10.wrap = My "uid" is |<br />

10 = TEXT
10.data = register:tx_templavoila_pi1.parentRec.pid
10.wrap = My "pid" is |<br />
</TypoScript>

So, register is defined for each field in the corresponding table. This
is supported for FCE/page DSes and Local processing in corresponding
TOs. This is *not* supported for static data structures and result of
such usage inside static data structures is declared as "undefined"
(meaning: if it explodes your server, we are not responsible ).

Again repeat: this feature is experimental and can be changed in future.
You were warned!

Dmitry.
--
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
__________________
Веб-студия ТТЛАБ
www.ttlab.ru

Последний раз редактировалось Valery Romanchev; 06.06.2006 в 03:11
Valery Romanchev вне форума   Ответить с цитированием
Старый 22.05.2006, 20:31   #3
Awdey
Новенький
 
Регистрация: 22.05.2006
Сообщений: 2
По умолчанию

понял,
спасибо!
Awdey вне форума   Ответить с цитированием
Ответ

Опции темы
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB code is Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Часовой пояс GMT +4, время: 22:37.


Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Перевод: zCarot

Хостинг и техническая поддержка: TYPO3 Лаборатория