Russian TYPO3 community

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

salah 27.08.2015 00:51

Цитата:

Сообщение от Николай Сипко (Сообщение 39752)
Вопрос из чистого любопытства.
Что такое "экстеншен CSC"?

Вы меня удивляете. CSC это css_styled_content

Николай Сипко 27.08.2015 01:02

А я уже ничему не удивляюсь:
Nothing found for "CSC".
Showing results for "". Search instead for "CSC".

salah 27.08.2015 01:04

Цитата:

Сообщение от Николай Сипко (Сообщение 39754)
А я уже ничему не удивляюсь:
Nothing found for "CSC".
Showing results for "". Search instead for "CSC".

csc-... - самый частовстречаемый класс в коде html при использовании css_styled_content.

Мы отошли от темы. У вас был вопрос по:
<f:format.html parseFuncTSPath="lib.parseFunc">{right}</f:format.html>

Какая цель?

salah 27.08.2015 01:13

Короче, я так понял, что вы не можете вывести контент в принципе.
Воспользуйтесь перечисленными шагами, вместо советов с typo3buddy.
Тогда в вашем созданном экстеншене будет файл Default.html, содержащий простой пример рендеринга контента.

Или воспользуйтесь этим простым примером:
<div xmlns="http://www.w3.org/1999/xhtml" lang="en" xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers" xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers" xmlns:flux="http://typo3.org/ns/FluidTYPO3/Flux/ViewHelpers">

<f:layout name="Page" />

<f:section name="Configuration">
<flux:form id="standard">
<!-- Insert fields, sheets, grid, form section objects etc. here, in this flux:form tag -->
</flux:form>
<flux:grid>
<!-- Edit this grid to change the "backend layout" structure -->
<flux:grid.row>
<flux:grid.column colPos="0" name="main" label="Основной контент" />
</flux:grid.row>
</flux:grid>
</f:section>

<f:section name="Main">
<v:content.render column="0" />
</f:section>
</div>

Николай Сипко 27.08.2015 01:20

Цитата:

Сообщение от salah (Сообщение 39756)
Короче, я так понял, что вы не можете вывести контент в принципе.

Короче, я вывожу контент "в принципе". У меня больше нет вопросов. А за советы спасибо.

salah 27.08.2015 01:21

Цитата:

Сообщение от Николай Сипко (Сообщение 39757)
Короче, я вывожу контент "в принципе". У меня больше нет вопросов. А за советы спасибо.

Просто хотел помочь...

webberry 27.08.2015 12:31

Цитата:

Сообщение от salah (Сообщение 39758)
Просто хотел помочь...

Нормально помог. Все вместо меня расказал
А css_styled_content я в TYPO3 6.x не хороню а использую на ряду с fluid. Через ts перепишу враперы которые нужны вот тебе адаптивные картинки с кучей настроек, блоки текста и прочее. Враперы убираю через тот же tsconfig (layout), чтобы было "безшовно" как было сказано.
Код:

TCAdefaults.tt_content.section_frame = 100
TCEFORM.tt_content.section_frame {
  addItems {
    100 = Clean frame
  }
}

и в setup.ts добавляю
Код:

tt_content.stdWrap.innerWrap.cObject = CASE
tt_content.stdWrap.innerWrap.cObject {
  100 = TEXT
  100.value = |
  100.stdWrap.dataWrap = |
}


Николай Сипко 28.08.2015 13:42

https://docs.typo3.org/typo3cms/exte...dcontent_core/

"Special note about the Textpic (Text with Images) content type

As you may have already noticed, there is no template shipped for the TYPO3 core content type Textpic (Text with Images). The reason for this is as simple as it is opinionated: this particular content element type requires an inordinate amount of settings and rendering instructions to serve just the most common use cases. This is also evident in the TypoScript setup that is shipped with CSS Styled Content - the setup required to manage positioning and flow of images and text is so massive that in most sites you use only a fraction of the settings.

A decision was therefore made to simply not ship any template for this content type at all, as to not invite the inevitable explosion in complexity that happened in CSS Styled Content.

Our alternative recommendation is to create container elements which control the structure into which you then insert regular Text and Image elements. The result being more elements, but a much clearer separation of the types (which is useful for example in the context of site search with content type facets). You can of course also go one step further and create your own custom elements which use your own custom fields to define the text and image(s) which you render in a completely custom way".

=======

"Все это было бы смешно,
Когда бы не было так грустно..."

salah 28.08.2015 15:33

Мне одному кажется что в этой ветке каждый говорит о своем? ))

Николай Сипко 28.08.2015 16:12

Цитата:

Сообщение от salah (Сообщение 39763)
Мне одному кажется что в этой ветке каждый говорит о своем? ))

Поговорим о TYPO3: прошу назвать хоть одно преимущество FLUIDTEMPLATE над templavoila.

css_styled_content
fluidcontent_core
Что лучше и почему?


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

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