From franssaris at gmail.com Sat Jul 1 09:57:39 2017 From: franssaris at gmail.com (Frans Saris) Date: Sat, 01 Jul 2017 07:57:39 +0000 Subject: [TYPO3-media] images with vw In-Reply-To: References: Message-ID: You can copy the partial responsible for rendering media/images from fluid_styled_content to your own sitepackage and adjust the output there. See the fluid files in ext:fluid_styled_content/Resources/Private Groet Frans Op do 29 jun. 2017 09:55 schreef Roman Pretory : > hi > > I have search now a long time but thre ist nothing get running... > > until v7.6 I use this code to manipulate the picture > > tt_content.image.20.1.layout { > > default { > #element = ###PARAMS### ###ALTPARAMS### ###BORDER### /> > element = ###ALTPARAMS### ###BORDER### /> > source = > } > } > > is there a easy way in v 8.7 with fluid_styled_content > > I have search now a long time but thre ist nothing get running... > > Thanks Roman > > > _______________________________________________ > TYPO3-project-media mailing list > TYPO3-project-media at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-media > From roman at pretory.at Mon Jul 3 07:03:49 2017 From: roman at pretory.at (Roman Pretory) Date: Mon, 03 Jul 2017 07:03:49 +0200 Subject: [TYPO3-media] =?utf-8?Q?Re:=20images=20with=20vw?= References: Message-ID: Thanks But I have allready tried to copy the /typo3/sysext/fluid_styled_content/Resources/Private/Partials/Media/Rendering/Image.html to my ext in EXT:MY_layout_ext//Resources/Private/Partials/Media/Rendering/Image.html or EXT:MY_layout_ext//Resources/Private/Partials/Image.html my fluidtemplate config ..: lib.FluidTemplate = FLUIDTEMPLATE lib.FluidTemplate{ partialRootPath = {$tpl_path}/Private/Partials layoutRootPath = {$tpl_path}/Private/Layouts variables { content < styles.content.get } file.stdWrap.cObject = CASE file.stdWrap.cObject { key.data = levelfield:-1, backend_layout_next_level, slide key.override.field = backend_layout default = TEXT default.value = {$template} } } Modyfied by add as sample for test but it dos't work .. :-( is there anything to do in any config??? Thanks Roman There is no Change in the output From roman at pretory.at Mon Jul 3 07:11:54 2017 From: roman at pretory.at (Roman Pretory) Date: Mon, 03 Jul 2017 07:11:54 +0200 Subject: =?utf-8?Q?Re:=20[TYPO3-media]=20?==?utf-8?Q?images=20?= =?utf-8?Q?with=20vw?= References: Message-ID: Thanks, But this I have already tried with out suchsess Copy the /typo3/sysext/fluid_styled_content/Resources/Private/Partials/Media/Rendering/Image.html To my ext in EXT:MY_layout_ext//Resources/Private/Partials/Media/Rendering/Image.html Or EXT:MY_layout_ext//Resources/Private/Partials/Image.html my fluidtemplate config ..: lib.FluidTemplate = FLUIDTEMPLATE lib.FluidTemplate{ partialRootPath = {$tpl_path}/Private/Partials layoutRootPath = {$tpl_path}/Private/Layouts variables { content < styles.content.get } file.stdWrap.cObject = CASE file.stdWrap.cObject { key.data = levelfield:-1, backend_layout_next_level, slide key.override.field = backend_layout default = TEXT default.value = {$template} } } Modyfied by add as sample for test but it dos't work .. :-( is there anything to do in any config??? Thanks Roman From franssaris at gmail.com Mon Jul 3 07:57:52 2017 From: franssaris at gmail.com (Frans Saris) Date: Mon, 03 Jul 2017 05:57:52 +0000 Subject: [TYPO3-media] images with vw In-Reply-To: References: Message-ID: Hi, partialRootPath, layoutRootPath and templateRootPath aren't used anymore. You should use partialRootPaths, layoutRootPaths and templateRootPaths. https://docs.typo3.org/typo3cms/TyposcriptReference/ContentObjects/Fluidtemplate/Index.html Groet Frans Op ma 3 jul. 2017 om 07:15 schreef Roman Pretory : > Thanks, But this I have already tried with out suchsess > > > Copy the > > > /typo3/sysext/fluid_styled_content/Resources/Private/Partials/Media/Rendering/Image.html > > To my ext in > > EXT:MY_layout_ext//Resources/Private/Partials/Media/Rendering/Image.html > Or > EXT:MY_layout_ext//Resources/Private/Partials/Image.html > > my fluidtemplate config ..: > lib.FluidTemplate = FLUIDTEMPLATE > lib.FluidTemplate{ > partialRootPath = {$tpl_path}/Private/Partials > layoutRootPath = {$tpl_path}/Private/Layouts > variables { > content < styles.content.get > } > > file.stdWrap.cObject = CASE > file.stdWrap.cObject { > key.data = levelfield:-1, backend_layout_next_level, slide > key.override.field = backend_layout > default = TEXT > default.value = {$template} > > } > } > > > > Modyfied by add as sample for test > > data-namespace-typo3-fluid="true"> > width="{dimensions.width}" height="{dimensions.height}" > alt="{file.alternative}" title="{file.title}" /> > > > but it dos't work .. :-( > is there anything to do in any config??? > > Thanks Roman > _______________________________________________ > TYPO3-project-media mailing list > TYPO3-project-media at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-media > From roman at pretory.at Mon Jul 3 09:01:01 2017 From: roman at pretory.at (Roman Pretory) Date: Mon, 03 Jul 2017 09:01:01 +0200 Subject: =?utf-8?Q?Re:=20[TYPO3-media]=20?==?utf-8?Q?images=20?= =?utf-8?Q?with=20vw?= References: Message-ID: now change to lib.FluidTemplate = FLUIDTEMPLATE lib.FluidTemplate { templateName = DefaultTemplate layoutRootPaths { 10 = EXT:frontend/Resources/Private/Layouts 20 = {$tpl_path}/Private/Layouts } partialRootPaths { 10 = EXT:frontend/Resources/Private/Partials 20 = {$tpl_path}/Private/Partials } templateRootPaths { 10 = EXT:frontend/Resources/Private/Templates 20 = {$tpl_path}/Private/Templates } variables { content < styles.content.get } } tt_content.image > tt_content.image = FLUIDTEMPLATE tt_content.image { templateName = Image templateRootPaths { 0 = {$tpl_path}/Private/Partials/ContentElements/ } partialRootPaths { 0 = {$tpl_path}/Private/Partials/ContentElements/ } layoutRootPaths { 0 = {$tpl_path}/Private/Partials/ContentElements/ } dataProcessing { 10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor 10 { references.fieldName = image } } } and try with tt_content.image but it dosn't work at all Thanks Roman From franssaris at gmail.com Mon Jul 3 10:56:25 2017 From: franssaris at gmail.com (Frans Saris) Date: Mon, 03 Jul 2017 08:56:25 +0000 Subject: [TYPO3-media] images with vw In-Reply-To: References: Message-ID: but you are sure your templates are used? If you set the path to something that's invalid you get an error that the templates aren't found? groet Frans Op ma 3 jul. 2017 om 09:05 schreef Roman Pretory : > now change to > > lib.FluidTemplate = FLUIDTEMPLATE > lib.FluidTemplate { > templateName = DefaultTemplate > > layoutRootPaths { > 10 = EXT:frontend/Resources/Private/Layouts > 20 = {$tpl_path}/Private/Layouts > } > partialRootPaths { > 10 = EXT:frontend/Resources/Private/Partials > 20 = {$tpl_path}/Private/Partials > } > templateRootPaths { > 10 = EXT:frontend/Resources/Private/Templates > 20 = {$tpl_path}/Private/Templates > } > variables { > content < styles.content.get > } > > } > > tt_content.image > > tt_content.image = FLUIDTEMPLATE > tt_content.image { > templateName = Image > templateRootPaths { > 0 = {$tpl_path}/Private/Partials/ContentElements/ > } > partialRootPaths { > 0 = {$tpl_path}/Private/Partials/ContentElements/ > } > layoutRootPaths { > 0 = {$tpl_path}/Private/Partials/ContentElements/ > } > dataProcessing { > 10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor > 10 { > references.fieldName = image > } > } > } > > and try with tt_content.image but it dosn't work at all > > Thanks Roman > _______________________________________________ > TYPO3-project-media mailing list > TYPO3-project-media at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-media > From roman at pretory.at Tue Jul 4 09:04:33 2017 From: roman at pretory.at (Roman Pretory) Date: Tue, 04 Jul 2017 09:04:33 +0200 Subject: =?utf-8?Q?Re:=20[TYPO3-media]=20?==?utf-8?Q?images=20?= =?utf-8?Q?with=20vw?= References: Message-ID: im sure that the template is NOT used thats my main trouble :-( , by config seems to be wrong, do you have a working sample?? THX Roman