Russian TYPO3 community

Russian TYPO3 community (http://forum.typo3.ru/index.php)
-   Общие вопросы (http://forum.typo3.ru/forumdisplay.php?f=12)
-   -   FlexForms как Content Element (http://forum.typo3.ru/showthread.php?t=3226)

void 26.04.2007 21:46

http://typo3.org/documentation/docum...4/2/#id2820846 :
Цитата:

Configuration of the displayed order of fields in TCEforms.

The whole strings is divided by tokens according to a - unfortunately - complex ruleset.
1. #1: Overall the value is divided by a "comma" ( , ). Each part represents the configuration for a single field.
2. #2: Each of the field configurations is further divided by a semi-colon ( ; ). Each part of this division has a special significance.
1.
Part 1: Fieldname reference (Required!)
2.
Part 2: Alternative fieldlabel (LS)
3.
Part 3: Palette number (referring to an entry in the "palettes" section).
4.
Part 4: Special configuration (splitted by colon ( : )), eg. 'nowrap' and 'richtext[(list of keys or *)]' (see section later)
5.
Part 5: Form style codes (see section later)

Notice: Instead of a real fieldname you can theoretically insert "--div--" and you will have a divider line shown. However this is not rendered by default so it has no significance.

Another special fieldname, '--palette--', will insert a link to a palette (of course you need to specify a palette and title then...)

z0r1k 27.04.2007 10:21

Огромное спасибо... Обязательно ознакомлюсь...

z0r1k 27.04.2007 20:36

Спасибо за оказанную помощь...
Возможно вы знаете как добавить новую запись сюда:

http://z0r1k.crimea.ua/photo/typo3/new_record.png

??

Я хочу чтобы моя флекформа была доступна из этого меню.

void 27.04.2007 21:07

Я так понимаю, это обычная страница? Тогда вам поможет строка
PHP код:

t3lib_extMgm::allowTableOnStandardPages$tablename ); 

в вашем ext_tables.php

z0r1k 27.04.2007 21:13

это не совсем то что мне нужно...
я хочу чтобы у меня добавился в этот лист некий элемент myFlex, при нажатии на который, у меня бы создавался контент элемент с моей флекс формой.

btw, я использую поле myFlexItems в таблице tt_content. Думаю эта функция мне не поможет, т.к. таблица tt_content на этой странице наверное уже представленна.

Pavel Antonov 27.04.2007 22:31

В меню вставки присутствуют только таблицы, а выбор флекс-формы будет следом в визарде выбора типа контента.

Разве этого не достаточно?

z0r1k 28.04.2007 09:27

На сколько я понимаю, в эту функцию в качестве параметра нужно передать имя таблицы из базы данных, так?

т.е.
PHP код:

t3lib_extMgm::allowTableOnStandardPages("tt_content"); 

но разве таблица "tt_content" уже не представленна на этой странице? Разве эта строка возымеет нужный мне эффект?

btw, у меня просто в таблице "tt_content" добавленно моё поле - "MyFlex"

void 28.04.2007 16:33

Да, вы правы, уже представлена. Поэтому вам придется пользоваться визардом, который идет после выбора "pagecontent".

z0r1k 30.04.2007 12:40

Понятно.
Спасибо за информацию.


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

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