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.

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.

The standalone version can be used out of the box and there are integrations for TYPO3 and Neos

It looks like this

// this
<f:count>{myArray}</f:count>

// or  
{myArray -> f:count()}

Official documentation: https://github.com/TYPO3Fluid/Fluid

Since 2017-06 there is also Fluid for whose syntax is not related to php-fluid but which aims to be close to .

1458 questions
0
votes
3 answers

TYPO3 Extbase: Nested models in fluid

I'm writing my first extbase extension for TYPO3 with nested models at the moment. Following models exists: Author - attributes: name and description News - attributes: title, date, author The author is included in the news model like this /** *…
Patrick Hafner
  • 129
  • 3
  • 12
0
votes
2 answers

Extbase AJAX call only works in some Actions

While I managed to get a working AJAX call, it won't works with my already created actions, not on a newly created one. My Typoscript looks like this: lib.AJAXPrototype= PAGE lib.AJAXPrototype { typeNum = 896571 config { …
user828591
  • 1,212
  • 2
  • 17
  • 32
0
votes
1 answer

TYPO3: Compare two timestamps in Fluid-if

I'm not sure about how to write it correctly, but this is the inline notation I used, it seems to be correct from checking, but it always says it's greater. {f:if(condition: '{timestamp} > {f:format.date(date:{timestampsinloop}, format:"U")}', then:…
user828591
  • 1,212
  • 2
  • 17
  • 32
0
votes
3 answers

Centering a fluid width div within a fixed div to pin to top of viewport

ok, so I'm designing a page that requires a 50% width div down the centre of the page - no problem. I also need a 50% wide header across the top of my screen - no problem. Finally I need to have that header in a fixed div so that it remains at the…
0
votes
3 answers

Stacking Images CSS

I know its easy to stack images on top of one another but I just wondered if this could be achieved but maintaining a fluid image? As soon as I use the position attribute, I have to supply a width. Then the image won't re-size with the…
jhodgson4
  • 1,566
  • 3
  • 20
  • 35
0
votes
3 answers

2 column div layout: right column fixed width, left fluid, height relative to eachother

I want a layout with two columns, two divs, where the left one has fluid width and the right one has fixed width. So far so good - see jsfiddle below - however, the height of the right column must be in relation to the height of the left column. So…
Henrik Janbell
  • 1,784
  • 3
  • 21
  • 30
-1
votes
1 answer

How can I scale and centre align an inline image within a fluid DIV?

I have a fluid layout and I have a div that matches the height and width of the browser window at all times, even when the browser is resized. So a div that is 100% height and 100% width of the browser window. Within this div I have an image that…
egr103
  • 3,858
  • 15
  • 68
  • 119
-1
votes
1 answer

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 = 100 # Jumlah grid pada sumbu x ny = 50 #…
-1
votes
1 answer

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 element for the progress bar. Every 10th of second, I change the css attribute…
-1
votes
1 answer

Fluid Typography—Different text sizes when setting div width

I am trying to utilize fluid typography and so far it's been going good but I am having an issue with one of my breakpoints. When I test on iphone 11 (landscape mode), text in divs that are set to greater than 50% of the viewport expand the "p" text…
K. Glover
  • 11
  • 2
-1
votes
1 answer

Counter for mask elements in a TYPO3 column

In a TYPO3 mask element, I need to know the position of the item in the current column. Like any iterator you would use in a template, but on the level of the column. I know that with the syntax {cObject}.renderObj.{maskElement}.settings.xyz I can…
Urs
  • 4,984
  • 7
  • 54
  • 116
-1
votes
1 answer

AnyLogic Fluid dynamically assign storage tank (visual representation)

I have a custom FuelTank object, anylogic tank but with some extra logic. It has a parameter SimTank of type "storageTank". The anylogic "tank" block (inside the FuelTank object) has its "StorageTank" set to this parameter. I now have a TankFarm…
Cecil
  • 55
  • 6
-1
votes
1 answer

TYPO3: show user input in front-end

I have a little problem with TYPO3, i have a navbar (fluid) and want to show a number in there which the user should be able to fill in in the Backend. I would like to use a typoscript variable to show this number but my question is: Is there a easy…
MDoe
  • 3
  • 3
-1
votes
1 answer

Fluid separation in Blender

I need to create a simulation in Blender that resembles Moses separating the sea. I cannot find any tutorials for it. It helps if you could tell me how it's done.
Programmer
  • 37
  • 5
-1
votes
3 answers

Nested if / else statements ext:news fluid

Using TYPO3 v7.6.13 ext:news 5.3.2 I've created two Detail partials to use on a single page, this is the page TS Config: tx_news.templateLayouts { 11 = HomePage Top Banners 12 = HomePage List } Im able to write two conditions so…
Tom
  • 109
  • 1
  • 15