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
9
votes
1 answer

not working in TYPO3 v8 Fluid

I recently upgraded from TYPO3 7.6 to 8.7 and discovered that using to escape a curly brace in Fluid no longer works. Any advice is appreciated?
Xari
  • 266
  • 1
  • 4
  • 13
9
votes
5 answers

Fluid Form Layout in Delphi

We have developed a software. In this software we are show and hiding a few controls on various input screens depending on various situations. When we hid a control what happens is that the space occupied by that control is left as it is and layout…
Yogi Yang 007
  • 5,147
  • 10
  • 56
  • 77
8
votes
1 answer

Render TYPO3 Fluid partial from another extension

I want to render a section in a partial from another extension. My setup is TYPO3 7.6.14 with fluid powered TYPO3 extensions including VHS. As far as i know it is not possible with the fluid ViewHelper f:render. Here you only have the arguments…
kimomat
  • 2,211
  • 23
  • 37
8
votes
3 answers

Fluid: if - then - elseif - else

I'm a bit new to fluid and I want to make a the following php statement in Fluid. if ($var == 'something') { // do something } elseif ($other-var == 'something else') { // do something else } else { // do then the other thin } How can I…
Tom
  • 1,547
  • 7
  • 27
  • 50
8
votes
2 answers

What is "Fluid powered TYPO3" and is it recommended?

What is to be understood by "Fluid powered TYPO3" (as stated by http://fedext.net/) and what are its benefits for the integration? Are there other modern templating approaches for TYPO3 6.x that would be best practice to switch to now? I don't…
Urs
  • 4,984
  • 7
  • 54
  • 116
8
votes
4 answers

HTML Table - 100% width table, combination of fixed width and UNIFORM fluid columns

I'm trying to build a custom calendar in HTML and Javascript where you can drag and drop tasks from one day to another. I would like to have the first column and last two columns as fixed width and have the remaining columns (Monday through to…
Danny
  • 183
  • 1
  • 3
  • 8
7
votes
2 answers

Simulating fluid flow over a heightmap

I am looking for a way to approximate a volume of fluid moving over a heightmap. The easiest solution I can think of is to approximate it as a large number of non-drawn spheres, of small diameter (<0.1m). I would then place a visible plane…
Venatu
  • 1,264
  • 1
  • 13
  • 24
7
votes
2 answers

Run TYPO3 Fluid on VueJS component

I have a VueJS component and I'm trying to add translated text via Fluid tag.

vava
  • 131
  • 1
  • 5

7
votes
4 answers

TYPO3 - how to properly define constant, store it into variable and use inside of fluid template

In the Fluid template of plugin I am working on, some things are hardcoded. For instance:
  • Since pageUid values are not same…
    Denis Milosavljevic
    • 365
    • 4
    • 8
    • 17
    7
    votes
    2 answers

    Stable Fluids in 3D Example

    Has anyone run across or have an example of Jos Stam's Stable Fluids but in 3D? I need to pursue a 3D version of this in openGL but have been having a terrible time doing so. Is there an example of this preferably in openGL/C/C++?
    David Nelson
    • 752
    • 1
    • 10
    • 27
    7
    votes
    4 answers

    Link to file in Fluid – how to specify storage?

    As far as I know, there's no such thing as an f:link.file or v:link.file viewhelper. There used to be a solution using file.originalResource.publicUrl as the value to point the link to, as in
    Urs
    • 4,984
    • 7
    • 54
    • 116
    7
    votes
    1 answer

    Safari Extension, Fluid App

    I've written a simple extension for Safari that captures clicks on the RSS button in the address bar (calls to the feed:// protocol) and redirects to Google Reader instead of Safari's feed reader. If, however, the user has a Fluid app (one that…
    Rob Wilkerson
    • 40,476
    • 42
    • 137
    • 192
    7
    votes
    2 answers

    TYPO3 Extbase: setDefaultOrderings in Controller

    I have an extension (extbase/fluid) with an main object "Etikett" with a relation to a child object "Land". I want to order my output, so I'm using the setDefaultOrderings method in my Etikett controller, but I got no results, why?…
    Ralf
    • 836
    • 1
    • 9
    • 32
    7
    votes
    4 answers

    how to: find the length of a typoscript defined array in fluid?

    I define an array in my extensions setup.txt typoscript like so: settings{ halls { 0 = Default 1 = Mississauga 2 = Halifax 3 = Niagara Falls 4 = Oakville 5 =…
    The Newbie Qs
    • 483
    • 8
    • 22
    7
    votes
    3 answers

    Masonry: remove gutter from last column

    Been working with the new version of Masonry which seems to work much smoother, especially for the fluid/responsive build I am doing. One issue I have encountered, however - I am not sure how to remove the gutter on the far right of the .masonry…
    iamkeir
    • 3,222
    • 2
    • 21
    • 22
    1
    2
    3
    97 98