我尝试使用Fluid Powered TYPO3在我的TYPO3后端(v6.2)上滑动内容元素。所以我没有包含CSS_Styled_content。 http://wiki.typo3.org/Content_Slide示例:
10 < styles.content.getRight
10.slide = -1
特别是我想将我的内容从colPos=0 'Slider'
滑到下面的页面。 FLUID / FluidTYPO3(FLUX)可以实现吗?
<f:section name="Configuration">
<flux:form id="fluidpage" options="{icon: 'typo3conf/ext/my_extension/Resources/Public/Icons/Page/Standard.gif'}">
</flux:form>
<flux:grid>
<flux:grid.row>
<flux:grid.column colPos="0" name="Slider" colspan="2" />
</flux:grid.row>
<flux:grid.row>
<flux:grid.column colPos="1" name="Left" />
<flux:grid.column colPos="2" name="Right" />
</flux:grid.row>
</flux:grid>
</f:section>
我这样试试......但那是错的。
styles.content.getSlider.slide = -1
答案 0 :(得分:1)
您可以使用CONTENT对象在css_styled_content
内部完成相同的操作:
lib.content_not_cascading_without_default = CONTENT
lib.content_not_cascading_without_default {
table = tt_content
# This enables content sliding. For more possible values
# check the docs (linked above)
slide = -1
select {
# Use the correct column position here
andWhere = colPos = 1
orderBy = sorting
languageField = sys_language_uid
}
}
或者,如果您使用流体渲染模板,您还可以使用v:content.render - 来自EXT的ViewHelper渲染内容:vhs:
<v:content.render column="1" slide="-1"/>