fluid-styled-content

Set maxImageWidth for images within gridelements col using fluid_styled_content (TS)

和自甴很熟 提交于 2021-02-11 09:07:44
问题 Defining a custom gridelement in TS one can setup the maxImageSize for an texmedia image rendered inside a col. So in a 50-50 grid one might set the max image width to 50% of the regular max. columns { default { renderObj { 10 = LOAD_REGISTER 10.maxImageWidth = 273 30 = RESTORE_REGISTER } } } However this is not working using fluid_styled_content instead of css_styled_content. Anyone knows how to configure that using gridelements with fluid_styled_content? 回答1: Your code doesn´t work because

Set maxImageWidth for images within gridelements col using fluid_styled_content (TS)

耗尽温柔 提交于 2021-02-11 09:06:55
问题 Defining a custom gridelement in TS one can setup the maxImageSize for an texmedia image rendered inside a col. So in a 50-50 grid one might set the max image width to 50% of the regular max. columns { default { renderObj { 10 = LOAD_REGISTER 10.maxImageWidth = 273 30 = RESTORE_REGISTER } } } However this is not working using fluid_styled_content instead of css_styled_content. Anyone knows how to configure that using gridelements with fluid_styled_content? 回答1: Your code doesn´t work because

Set maxImageWidth for images within gridelements col using fluid_styled_content (TS)

寵の児 提交于 2021-02-11 09:06:30
问题 Defining a custom gridelement in TS one can setup the maxImageSize for an texmedia image rendered inside a col. So in a 50-50 grid one might set the max image width to 50% of the regular max. columns { default { renderObj { 10 = LOAD_REGISTER 10.maxImageWidth = 273 30 = RESTORE_REGISTER } } } However this is not working using fluid_styled_content instead of css_styled_content. Anyone knows how to configure that using gridelements with fluid_styled_content? 回答1: Your code doesn´t work because

Render image in fluid template if it exists?

落花浮王杯 提交于 2019-12-25 01:53:04
问题 How can I use f:if to see if an image exists before trying to render it? I have tried the following without success: {f:if(condition: page.files.0, then: ' style="background-image:url({f:uri.image(image:page.files.0, width:300c, height:200c)}"')} <f:if condition="{page.files.0}"> style="background-image:url({f:uri.image(image:page.files.0, width:300c, height:200c)}" </f:if> It works if there is an image but breaks the element when there is not. 回答1: When I want to add an image url to the

MaxGalleryWidth for fluid_styled_content

自古美人都是妖i 提交于 2019-12-23 03:47:13
问题 I tried to change the MaxGalleryWidth in fluid_styled_content for an specific column. First I tried how I do this before fluid_styled_content: lib.contentRight = COA lib.contentRight { 10 = LOAD_REGISTER 10 { maxImageWidth = 205 maxImageWidthInText = 60 } 20 < styles.content.get 20 { select { where = colPos=1 } slide = -1 } 90 = RESTORE_REGISTER } Also using maxGalleryWidth in LOAD_REGISTER has no effect. This doesn't work for me. Than I tried to set the maxGalleryWidth Parameter for the

TYPO3 8.7 can not override Fluid Styled Content templates

只愿长相守 提交于 2019-12-21 04:42:17
问题 I've tried to override the Fluid Styled Content elements but it doesn't work at all in latest TYPO3 version 8.7.0. I've got a template extension (key: biv_main) in which I add my overriding template pathes: lib { fluidContent { templateRootPaths { 30 = EXT:biv_main/Resources/Private/Content/fluid_styled_content/Templates/ } partialRootPaths { 30 = EXT:biv_main/Resources/Private/Content/fluid_styled_content/Partials/ } layoutRootPaths { 30 = EXT:biv_main/Resources/Private/Content/fluid_styled

MaxGalleryWidth for fluid_styled_content

主宰稳场 提交于 2019-12-07 14:52:26
I tried to change the MaxGalleryWidth in fluid_styled_content for an specific column. First I tried how I do this before fluid_styled_content: lib.contentRight = COA lib.contentRight { 10 = LOAD_REGISTER 10 { maxImageWidth = 205 maxImageWidthInText = 60 } 20 < styles.content.get 20 { select { where = colPos=1 } slide = -1 } 90 = RESTORE_REGISTER } Also using maxGalleryWidth in LOAD_REGISTER has no effect. This doesn't work for me. Than I tried to set the maxGalleryWidth Parameter for the GalleryProcessor, but this seems not to have any effect: lib.contentRight < styles.content.get lib

TYPO3 8.7 can not override Fluid Styled Content templates

倾然丶 夕夏残阳落幕 提交于 2019-12-03 15:56:23
I've tried to override the Fluid Styled Content elements but it doesn't work at all in latest TYPO3 version 8.7.0. I've got a template extension (key: biv_main) in which I add my overriding template pathes: lib { fluidContent { templateRootPaths { 30 = EXT:biv_main/Resources/Private/Content/fluid_styled_content/Templates/ } partialRootPaths { 30 = EXT:biv_main/Resources/Private/Content/fluid_styled_content/Partials/ } layoutRootPaths { 30 = EXT:biv_main/Resources/Private/Content/fluid_styled_content/Layouts/ } } } The TypoScript in the Backend via TS Object Browser looks correct to me:

With fluid_styled_content, how to create custom content elements in TYPO3 7.5 and 7 LTS?

99封情书 提交于 2019-12-03 09:25:42
问题 I have been told it is a breeze to set up custom, structured content elements for the Backend in TYPO3 7.5, using the new fluid_styled_content system extension. After looking at at sysext/fluid_styled_content and sysext/backend , I couldn't figure it out myself. Any hints? 回答1: Information source: fluid_styled_slider on Github These information are also available here: usetypo3 blog The official docs are online as well. PageTSconfig To make our content element appear in the wizard for new