Questions tagged [fluid]
Fluid is a an XML-based templating system for TYPO3. With Fluid, all the code for the view logic moves to the template - e.g. loops, if/else switches and similar.
1,463
questions
0
votes
1
answer
23
views
TYPO3: get and display all file categories in fluid
TYPO3 11.5.33
Task
I want to display every category title of a pdf file in a comma separated list in a table column.
I have the content element of CType = uploads and inside I have a ...
0
votes
0
answers
33
views
Accessing multiple file references in Fluid
I'm writing my first Typo3 12 extension. It should deliver a list of colors mainly. There should be some file attachments for every color record. I can attach multiple files. But I can't access them ...
0
votes
1
answer
27
views
How can I render an image stored in a custom page properties tab?
I am building a main navigation in TYPO3 12 with drop down menus that contain images for each subpage. I added a custom tab 'Navigation' to the page properties, where I upload that image. What I do ...
0
votes
0
answers
33
views
Use Flux in TYPO3 with Headless API
I'm currently using TYPO3 (12.4.7) with the EXT:Headless to create decoupled CMS for a NEXT.js frontend.
I was able to make headless output work on a global base and it works like a charme with ...
1
vote
2
answers
66
views
Iteration on basis of integer
Is it possible to create an iteration that does not iterate over arrays but uses an integer instead? This is the example provided in the documentation:
<f:for each="{0:1, 1:2, 2:3, 3:4}" ....
0
votes
1
answer
31
views
Render selected image from flux:field.file
How can I render the image selected by the flux:field.file ViewHelper?
This is my configuration:
<f:section name="Configuration">
<flux:form id="tabslide">
...
0
votes
0
answers
19
views
TYPO3 v12 - Using RTE in own Backend Module does not work anymore
In v11 I used JS (require(['ckeditor'], function (CKEDITOR) { ... }) to init the CKEditor in my backend form. But after my upgrade to v12 the whole thing does not work anymore.
I searched the whole ...
0
votes
3
answers
67
views
Assign backend layout template file to FLUIDTEMPLATE
I was using an old version of TYPO3 (9.5). I'm upgrading to newer version 10-12.
I'm struggling with this code snippet to upgrade the TEMPLATE=file section.
I know TEMPLATE=file is no longer supported....
0
votes
1
answer
46
views
Cylinder - Results explanation
I hope you are doing well. Once again, I need your help, please I’ve got this, as a kind of telescopic piston, but I'm having trouble understanding the results I'm getting. Even though it's what I ...
0
votes
2
answers
92
views
Typo3 Extbase - In which cases are Objects transient entities? Why is my entity object not updated but recreated?
My questions in advance:
How does Extbase decide if the given Object should be a transient entity or modified / persistent entity?
Is there any kind of Documentation on how Extbase maps (would you say ...
0
votes
0
answers
24
views
Modelica Buildings library fluid sensors
I encountered a problem, when I tried to use Buidlings.Fluid.Sensors.TraceSubstances to get the concentration of CO2, the system gave me an error:
[Buildings.Fluid.Sensors.TraceSubstances: 21:3-23:55]...
0
votes
0
answers
23
views
Cavity two fluid Flow - Python? OpenFoam
I am trying to attack a personal project to simulate a channel flow that has a cavity. Inside the cavity there is a fluid stationary. At some instant, another fluid (miscible in the first one) starts ...
0
votes
0
answers
92
views
php curl how to request hls streaming resources and play with html video tag
for some authorization purposes i want to use custom user agent with curl request so in order to grant access based on custom user agent.
I found this code for HLS streaming urls and i embedded with ...
0
votes
3
answers
108
views
TYPO3 12: Set TypoScript constant as integer
So I'm currently updating a TYPO3 website from v11 to v12 and I've run into a problem I can't seem to fix. In my fluid template I'm generating a filter form using AJAX. To do that I'm assigning the ...
0
votes
2
answers
51
views
How to add the Usergroup Access field or tab to a FAL object in TYPO3?
I am making a custom template for the 'File Links' element.
In it I want to disable download of some of the files until the frontend user has logged in.
So my problem is the Access tab with the ...
0
votes
0
answers
36
views
tx_news Display related news by tags in detail view with UserFunc
I am trying to display related news by tags on my detail page with this UserFunc from the docs:
lib.tx_news.relatedByTags = USER
lib.tx_news.relatedByTags {
userFunc = TYPO3\CMS\Extbase\Core\...
0
votes
1
answer
56
views
Typo3 javascript loading issue
I work with Typo3 ver.12.4. In the extension template file I use this line to load javascript
<v:asset.script name="video_js" path="EXT:cs2_video/Resources/Public/JavaScript/video.js&...
1
vote
1
answer
32
views
TYPO3 12: Link to page inside folder doesn't work
I'm working on a metanavigation that should link to a number of pages inside a folder. Currently my page tree looks something like this:
Home
Meta Navigation (Folder)
Search
Login
However, when ...
0
votes
1
answer
123
views
TYPO3 custom content element template is not being rendered
I'm trying to create my own content element in TYPO3 v12, but the template of it is not being rendered. Based on the template code, the HTML code that should be displayed would look like this:
<...
1
vote
1
answer
31
views
How can a data processor pass the latest caching time to the FLUIDTEMPLATE?
The results from a data processor in the fluid template are cached.
My data processor determines a list of images and a maximum time until which the list can be cached. How do I forward this ...
1
vote
1
answer
82
views
TYPO3 HTML5 closing tags
I have set the following in the typoscript:
config.doctype = html5
nevertheless I get the following output:
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<meta ...
0
votes
1
answer
67
views
Typo3 News Extension Filter Custom Field
I use the news extension and have followed this instruction for creating a custom field to the news:
https://docs.typo3.org/p/georgringer/news/main/en-us/Tutorials/ExtendNews/ProxyClassGenerator/Index....
-1
votes
1
answer
60
views
Computation of Physics
import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
# Parameter simulasi
Lx = 10.0 # Panjang domain pada sumbu x
Ly = 5.0 # Panjang domain pada sumbu y
nx = ...
0
votes
1
answer
62
views
TYPO3 fluid: How to have well-formed "and" conditions?
Single conditions in TYPO3's fluid template engine can be combined with &&:
<f:if condition="{data.slug}!== '/' && {data.slug}!== '/main'">
<f:render partial=&...
0
votes
1
answer
88
views
TYPO3 submit fluid variable to typoscript to prefill powermail field
I try to submit a variable from fluid to typoscript, to use it to prefill a powermail field.
I need this value, but it could not be rendered by database.
I tried the following, but the value will not ...
0
votes
1
answer
55
views
How can I mix petroleum and natural gas in Modelica/SystemModeler?
I am trying to simulate petroleum gas lift like in the image below:
enter image description here
Here, gas will be injected through the valve and mix with oil. The problem is that Modelica always ...
0
votes
0
answers
153
views
TYPO3 version 12 FAL in Flexform impty in FLUID
Following Flexform Konfiguration is working with TYPO3 v11. Now i've upgraded to TYPO3 v12. The Code looks like this:
<cardSettings.imageReference>
<TCEforms>
<label>
...
0
votes
2
answers
52
views
typo3 dce curly brackets rendered twice
I have a Typo3 v11 installation with DCE 2.9.3. My fluid template seems to be rendered twice, i can write
{field:header}
and it get's rendered and output the header, i don't need <f:format.raw> ...
0
votes
2
answers
102
views
TYPO3 news -> category menu -> get information on listview
I´m using the categegory menu of Georg Ringers "news". When I click on a category, it leads me to the listview, showing all articles with the chosen catecory. That works fine.
But:
Is there ...
0
votes
0
answers
60
views
How to show YouTube video in tx_news with fancybox?
I'm using TYPO3 with the tx_news extension and fancybox for the lightbox function. Now I want to modify the template to show YouTube videos, which are added via URL in the news entry.
I do not really ...
0
votes
1
answer
258
views
Output page category in Fluid using Viewhelper in TYPO3 11.5
I am creating a little news page for our website which includes a content element to fetch subpages by using an menu array. Therefore i have assigned a category to each article. But i am starting to ...
0
votes
1
answer
131
views
I want to render a partial on click in typo3
Here is my code
<f:for each="{websites}" as="website" iteration="i">
<tr class="tx_goclientwebsites__row">
<td>{i.index+1}</td>
&...
0
votes
0
answers
125
views
Access Images in new field with sys_file_reference in tx_news
I've added several fields to extend the tx_news, some of them should include images. For that I created fields with ...'type' => 'inline','foreign_table' => 'sys_file_reference'..., and it works ...
0
votes
0
answers
185
views
TYPO3 extension b13/container use iteration in child rendering
I have a container that implements children like this:
<f:for each="{children_200}" as="child" iteration="iterator">
{child.renderedContent -> f:format.raw()}...
0
votes
1
answer
80
views
How to add a fan with a fan curve to a set of air ducts in openmodelica?
I am trying to model a network of pipes that will transport air in Openmodelica Fluid library. I tried the "Pump", "ControlledPump" and "PrescribedPump" from Fluid....
0
votes
1
answer
82
views
how to wrap the quantity check in TYPO3 Fluid templates in a loop?
I need to show the image as many times as the amount variable. Now I separately check whether it is equal to 1, or 2, or 3.
How to wrap the quantity check in TYPO3 Fluid templates in a loop?
as a type
...
0
votes
2
answers
98
views
Closed loop with water
I want to simulate the circulation of water in a closed circular pipe in Modelica, but all models, that i`ve seen require Boundaries.
Can i make something like that?enter image description here
UPD:
i ...
0
votes
1
answer
138
views
Dynamic pipe in Modelica
I can't understand the benefit of the nNodes parameter in the .Modelica.Fluid.Pipes.DynamicPipe component.
How can we choose this parameter and from the point of view of physics, what does it mean?
...
1
vote
0
answers
175
views
Electrolysis in OpenModelica
I am very new to OpenModelica.
I have a few queries to solve my modelling of the electrolysis cell. I have a package of Electrolysis cell, then a media file and a model file. The media file contains ...
0
votes
0
answers
63
views
Typo3 can't get values from DataBase
Typo3 10.4
I created Models, Repositories and Controller. Values are getting written from the backend into the database but I can't get a bunch of values to the frontend. It's not all values that don'...
1
vote
1
answer
191
views
Modelica fluid mixing simulation
I am newbie to modelica.
I am searching for people having experience with (open)modelica regarding fluid and media library.
My goal is to simulate pressure of a volume related to injection flows of ...
0
votes
1
answer
52
views
TYPO3 EXT:cart_product: extend backend with one selection to do conditional theming in template
I'm looking for a way to extend the backend of the TYPO3 extension cart_products with one additional select field. I have already created some different ViewHelpers for the ProductBackendVariants and ...
0
votes
1
answer
93
views
TYPO3 11 Extbase access sorting field in fluid frontend template
I want to access the sorting field in Fluid inside the frontend template.
If I add the special part at the model, the value is always empty.
Is there a way to access the sorting values?
This doesn't ...
1
vote
2
answers
104
views
Can I access the header of a text content element?
I need to get the headline and the text separately out of a text content element. The reason is, to give the editor a simple way to add a content for a complicated section in my html theme.
I am new ...
0
votes
1
answer
147
views
Modify text in cookie consent extension in TYPO3
I have the TYPO3 extension dp_cookieconsent.
I can not find a way to actually modify the opt in check boxes. I can not modify the text and not what boxes should appear. How can I do that?
I tried ...
-1
votes
1
answer
569
views
How can I make a circle progress bar fluid?
I’m trying to fluidify a circle progress bar in a timer. The progress bar represents the progression in the duration of the timer. I made an svg <circle> circle element for the progress bar. ...
0
votes
2
answers
63
views
Render overridden fluid template
I want to override an extension's fluid template in Typo3 with my own template. My own template contains an if-condition. If not met, I want to include/render the extension's template (i.e. the ...
0
votes
0
answers
148
views
Move inline javascript added through fluid in typo3 to external file
In typo3 I added a javascript, which is defined in a typoscript library and called through a fluid template:
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-...
3
votes
1
answer
433
views
TYPO3: webp images are converted to png
I'm using a webp image in a default image content element.
webp images are enabled:
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'] .= ',webp';
But in frontend, a png is rendered, instead of a ...
0
votes
1
answer
37
views
How to access objects of date/time (like date.H) in for if-else statement (TYPO3)
For an if-else statement, I am trying to access individual objects of the time class in TYPO3 (9.5) but this is apparently not easily possible.
The classes are startdate and enddate. In my case, the ...