-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content rendering using flux is not working in typo3 11 #1908
Comments
Your missing some needed attributes and render statements here. I guess u want to render a container grid here. In the Configuration part u define all settings u need for this grid. <f:section name="Configuration">
<flux:form id="gridcol1" label="Container 1 Col" description="Container 1 Col">
<flux:form.option name="optionsettings">
<flux:form.option.group value="Grid" />
<flux:form.option.icon value="EXT:your_extension/Resources/Public/Icons/Content/GridCol1.svg" />
</flux:form.option>
<flux:grid>
<flux:grid.row>
<flux:grid.column label="Col 1" name="col1" colPos="1"></flux:grid.column>
</flux:grid.row>
</flux:grid>
</flux:form>
</f:section> Then you have a Preview Section for Backend Preview and a main section for Rendering the Container and the content that you set up in the TYPO3 Backend <f:section name="Main">
<div id="c{record.uid}" class="Grid">
<div class="u-container u-limitWidth">
<div class="u-row">
<div class="{classCols1}">
<flux:content.render area="col1"/> // This is the place where the Content Element are renderd
</div>
</div>
</div>
</div>
</f:section> I hope this helps for now |
I have added colPos also in the grid but still not rendering in Front End. |
Hi , |
is Do you see anything in your |
You must select a colPos value between 0 and 100 (in otherwords, max value is 99). |
Dear @NamelessCoder Thanks |
Closing this issue as "solved" but just in case you still face problems, feel free to ask for it to be reopened! |
I tried to render content elements using flux in typo3 11 like below code :
<f:section name="Configuration">
flux:grid
flux:grid.row
<flux:grid.column name="main" colPos="100"/>
</flux:grid.row>
</flux:grid>
</f:section>
<f:section name="Main">
But not rendering in Front end. How can i render correctly?Can anybody help me?
The text was updated successfully, but these errors were encountered: