Тема: Fluidcontent_core
Показать сообщение отдельно
Старый 26.08.2015, 23:37   #14
Николай Сипко
Senior Member
 
Регистрация: 17.09.2012
Сообщений: 675
По умолчанию

Цитата:
Сообщение от webberry Посмотреть сообщение
Думаю проблема в вызове. Чтобы fluid рендерил обекты внутри себя надо сделать что-то типа:

xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers"
xmlns:flux="http://typo3.org/ns/FluidTYPO3/Flux/ViewHelpers"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers">
Ссылки как в https://fluidtypo3.org/documentation...-template.html
Пробовал по ним пройти. Получил:
Not Found
The requested URL /ns/FluidTYPO3/Flux/ViewHelpers was not found on this server.
Apache/2.2.16 (Debian) Server at typo3.org Port 80
Vhs и Flux в репозитории и без них fluidcontent_core не установить.
========
Прошу пояснить и заранее извинить за невежество:
=======
1. Fluid content template file
http://typo3buddy.com/typo3-template...tent-template/
=======
<div id="content">
<div id="content_menu">
<f:cObject typoscriptObjectPath="lib.content_menu" />
</div>
<div id="content_main">
<f:format.raw>{content_main}</f:format.raw>
</div>
<div class="clearer"></div>
</div>
=======
2. Fluid/HTML Template
https://stmllr.net/blog/automaketemp...fluidtemplate/
=======
<div id="wrap">
<div id="menu">
<f:cObject typoscriptObjectPath="lib.navigation" />
</div>
<div id="left">
<f:format.html parseFuncTSPath="lib.parseFunc">{left}</f:format.html>
</div>
<div id="content">
<f:format.html parseFuncTSPath="lib.parseFunc">{content}</f:format.html>
</div>
<div id="right">
<f:format.html parseFuncTSPath="lib.parseFunc">{right}</f:format.html>
</div>
</div>
=======
В одном <f:format.raw>{content_main}</f:format.raw>
В другом <f:format.html parseFuncTSPath="lib.parseFunc">{left}</f:format.html>
=======
Как правильно делать ContentObjectRenderer? С разметкой в templavoila не сравнить, здесь как "закат солнца вручную". И зря ее хоронят: https://typo3.org/extensions/reposit...&q=templavoila Compatibility 7.0.0 - 7.9.99
Николай Сипко вне форума   Ответить с цитированием