fluid_styled_content | Subtree split of the TYPO3 Core Extension
kandi X-RAY | fluid_styled_content Summary
kandi X-RAY | fluid_styled_content Summary
[READ-ONLY] Subtree split of the TYPO3 Core Extension "fluid_styled_content"
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of fluid_styled_content
fluid_styled_content Key Features
fluid_styled_content Examples and Code Snippets
Community Discussions
Trending Discussions on fluid_styled_content
QUESTION
I have cloned the file sysext/fluid_styled_content/Resources/Private/Partials/Media/Type/Image.html
into my own template directory and set the constant to use that path. This works fine.
Now I want to output the "source" metadata of the image (which you can edit from the files list or some other places) additionally.
In debug output of {file}
I can see this data under the branch {file.originalFile.metaDataAspect.source}
.
But if I want to use this data to output there comes an error message Cannot access private property TYPO3\CMS\Core\Resource\File::$metaDataAspect
.
How can I access this data in my modified fluid_styled_content template?
...ANSWER
Answered 2021-May-02 at 18:26The chapter "Get File Properties" of the File Abstraction Layer documentation is telling:
If you have a file reference and want to get its properties like Metadata, you have to access “originalResource” first. Example:
QUESTION
I am using gridelements (10.0.0) and bootstrap_grids (2.2.0) in a TYPO3 10 installation. I have included the recommended static templates of both extensions (w/DataProcessing) and the headers of the gridelements are rendered in the frontend. Where can I modify the markup of the header? I find no definition neither in gridelements nor in bootstrap_grids. The header definitions in my custom fluid_styled_content templates are not used.
...ANSWER
Answered 2021-Mar-26 at 13:19Actually that's not just a TypoScript problem but a problem of Fluid root paths. In this case layoutRootPaths
. Since both - gridelements and bootstrap_grids - don't come with their own layout HTML files but are based on fluid_styled_content, they will make use of the default layout provided by FSC.
This is located here: https://github.com/TYPO3-CMS/fluid_styled_content/blob/master/Resources/Private/Layouts/Default.html
So either you will have to provide another layout root path and change the layout file in use - or you will have to create a partial Header/All
somewhere in your registered partial root paths.
QUESTION
Hey I am pretty new to typo3 and I want to build a website. I am running version 10.4.4 of TYPO3 with the bootstrap package installed. I have tried to follow the guide on https://docs.typo3.org/typo3cms/extensions/gridelements/stable/
I have copied the TypoScript into my template setup, but there is no output on the frontend.
Remember I am new to this so I don't understand the TypoScript well yet.
So any ideas to what I could do?
EDIT: I want to use GriElements so that I can create my own layouts on my page. The standard layouts are good but I need more freedom than what they offer.
I can get output on the frontend without GridElements, but when I use the extension only the content in the GridElements block wont show. If I remove the standard TypoScript from the example on the manual page for this extension i get an error saying "Oops an error occurred! Code:" and then a code that changes every time I update the page.
My TypoScript on my template looks like this:
...ANSWER
Answered 2020-Oct-28 at 14:58You probably missed to include the static template of gridelemnts. To do so edit your TS-Root-Template, select in the dropdown at the top "Info/Modify", hit the button "Edit the whole template record", go to tab "Includes" and select gridelements static setup in the Multiselect box on the right.
QUESTION
I've got a multi domain setup in TYPO3 9.5.20 LTS and according to best practice experience I should use distribution extensions to offer Typoscript and the template to each root. So I did that.
domainA template contains:
- fluid_styled_content
- ...
- gridelements
- templatea
domainB template contains:
- fluid_styled_content
- ...
- gridelements
- templateb
The problem now is that in domainB I only see the BE layouts of domainA.
How can I separate that? How can I limit it to it's page?
I define the layout in Configuration/TSConfig/Page.txt with mod.web_layout.BackendLayouts
.
And in each extension I load that Page.txt in the ext_localconf.php
like:
ANSWER
Answered 2020-Aug-26 at 10:43Okay the solution is very simple, once you know it.
You don't add it with addPageTSConfig
and not in ext_localconf.php
.
Just create a /Configuration/TCA/Overrides/pages.php
and add:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerPageTSConfigFile( 'myextkey', 'Configuration/TSConfig/Page.txt', 'Template domainA PageTSConfig' );
After delete the cache go to your page settings to "Resources" and added via "Include Page TSconfig (from extensions)", save and voila.
Documentation reference: https://docs.typo3.org/m/typo3/reference-tsconfig/master/en-us/UsingSetting/Index.html#using-and-setting-tsconfig
QUESTION
We are reworking old TYPO3 projects and my problem is that the following condition doesn't work anymore, and nothing gets wrapped:
...ANSWER
Answered 2020-Jun-05 at 14:47Since the classes are not assigned by a numeric value but directly as a class string, you don't need any condition for that, but you can use the string data instead.
QUESTION
I have a new TYPO3 9.5.15 installation and added gridelements 9.5.0 and t3sbootstrap 4.4.5 to make content elements with 3 columns in a own 1 column backendlayout which is defined in PageTsConfig.
In older TYPO3 versions, this is working fine (i.e TYPO3 7) but in TYPO3 9 I get the following error in FE:
Tried resolving a template file for controller action "Standard->three_columns" in format ".html", but none of the paths contained the expected template file (Standard/Three_columns.html). The following paths were checked: xxx/typo3/sysext/fluid_styled_content/Resources/Private/Templates/, xxx/typo3conf/ext/gridelements/Resources/Private/Templates/, xxx/typo3conf/ext/t3sbootstrap/Resources/Private/Templates/Content/, xxx/typo3conf/ext/t3sbootstrap/Resources/Private/Templates/, ,
I've double checked and can confirm, that both, gridelements and t3sbootstrap are included in the roottemplate of the website.
As far as I found out, the templates are available in xxx/typo3conf/ext/t3sbootstrap/Resources/Private/Templates/Gridelements/ but are called ThreeColumns.html
Has anyone an idee what causes the error and how to resolve it?
Thanks in advance
...ANSWER
Answered 2020-Apr-28 at 08:44At a first look it seems that there are 2 problems with your combination here:
The message "Standard->three_columns" points to a wrong static template, so I guess you included the new DataProcessing static of Gridelements, while t3sbootstrap depends on the old Plugin and USER based static.
The root path xxx/typo3conf/ext/t3sbootstrap/Resources/Private/Templates/Gridelements/ is missing in your setup.
At a second look it might even be enough to change the Gridelements static, since t3sbootstrap takes care of the root path based on that setup.
QUESTION
I am currently trying to wrap a div around the paragraphs in Text and Text and Images components in Typo3.
Currenlty they look like this:
...ANSWER
Answered 2020-Apr-15 at 15:54I think you just have to override the standard Fluid Template file for that content elements
QUESTION
I'm fairly new to typo3..I've created my own content element based from this page:
I've got the field values displayed on the front-end, i'm now trying to pass the field values to a fluid form and want to know how I instantiate a controller so I can retrieve the values?
anybody know how to do this?
...ANSWER
Answered 2020-Jan-22 at 04:46If I explain in brief, custom fluid elements in the TYPO3 and TYPO3 extension both are different things.
What you have done...
You have created the custom fluid element which is using existing tt_content fields (or custom added fields). With this, you can use the element directly as part of fluid_styled_content. The link you have provided is referring to the same!
What you're looking for...
You need a controller that means you need a custom extension. However, I am not sure what you want to archive. You can find a reference for how to create an extension for TYPO3.
- https://docs.typo3.org/m/typo3/book-extbasefluid/master/en-us/4-FirstExtension/Index.html
- https://docs.typo3.org/m/typo3/guide-extbasefluid/master/en-us/Extbase/FirstExtbaseExtension.html
Hope this helps you!
QUESTION
Is it possible to disable the caching for one specific element on pages? I tried already the following typoscript, as described in this answer, but it is not working for me (TYPO3 v8):
...ANSWER
Answered 2019-Aug-15 at 07:10fluid_styled_content uses the FLUIDTEMPLATE content object instead of USER as it was in css_styled_content. FLUIDTEMPLATE has no "non-cached" variant. I believe there are some options to change the caching of that element, but I could not find anything on that in the documentation.
Alternatively you could wrap it in a COA_INT object, which would look like something like this:
QUESTION
How can I migrate this TypoScript condition to be fully compatible with the Symfony Expression Language for conditions in TYPO3 9.5?
[userFunc = TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('fluid_styled_content')]
ANSWER
Answered 2019-Nov-12 at 15:25You'd have to provide your own functions at the moment.
There is a tutorial here: https://usetypo3.com/symfony-expression-language-in-typo3.html
But basically you'd have the file yourext/Configuration/ExpressionLanguage.php
with content like:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install fluid_styled_content
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page