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

Elements in Switchable Controller Actions not being displayed by FlexForm in TYPO3

I am having problem figuring out what is wrong with my Switchable Controller Actions. I'm using TYPO3 v7.6.10 Entry in extentionkey/Configuration/TCA/Overrides/tt_content.php: $pluginSignature =…
Fiftywebs
  • 185
  • 10
3
votes
1 answer

Is inline notation of f:uri.image broken in typo3 8.3.0?

I use the TYPO3\CMS\Frontend\DataProcessing\FilesProcessor to access FAL Images dataProcessing { 20 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor 20 { references.fieldName = image as = images } } the use…
bschauer
  • 958
  • 9
  • 33
3
votes
2 answers

resize textarea to fit in a fluid width layout with javascript

I have a fluid layout and i need a textarea to expand/reduce depending of the size of the parent container. In CSS it would look like this: textarea{ width: 100%; } But this doesn´t work with textareas. How can I do this with javascript? I can get…
brpaz
  • 3,618
  • 9
  • 48
  • 75
3
votes
1 answer

How can I get the category object in Fluid of Typo3 Content Element Pictures?

after a long time of Google, I can get the categories of FAL Objects in Typo3 7.6 Fluid. But I can only return a String. I want to get an object like {data}. What I do: TypoScript lib.category = CONTENT lib.category { table=sys_category …
Burner
  • 981
  • 19
  • 41
3
votes
2 answers

check if variable is of type array in fluid

Is it possible in fluid to check if the type of a variable is an array? I search for something like this. Or do I have to create my own ViewHelper for this purpose?
Black
  • 18,150
  • 39
  • 158
  • 271
3
votes
2 answers

Vim syntax file for TYPO3 Fluid templates

Where can I find a Vim syntax file for TYPO3 Fluid Templates? If it doesn't exist what syntax file could be used as example to create one?
mipmip
  • 1,072
  • 1
  • 10
  • 24
3
votes
1 answer

TYPO3: Automatic wrapping CASE by page.layout

I'm having a big teaser image at the top of the page. The author may select in the backend whether the teaser image should be static or a animated slideshow. I'm using bootstrap for the slideshow btw. The selection appears at Page > Edit >…
Norman
  • 785
  • 7
  • 27
3
votes
2 answers

In Extbase 6.2, don't use uid for list page

When using Extbase's "show" action: I would like to look up said event by a special column ('customID'). The actual TYPO3-uid should NOT appear in the URL (with or without RealURL). The…
Urs
  • 4,984
  • 7
  • 54
  • 116
3
votes
1 answer

TYPO3 FLUID grouping and limiting elements while looping

I'm trying to make FLuID loop which will display block with the 4 pictures. I would like to achieve something like this:
3
votes
3 answers

Add one more argument for fluid viewHelper by condition

In my fluid template I have: I want to add condition for "value". Something like:
Respant
  • 198
  • 1
  • 11
3
votes
5 answers

Is there a way to wrap X items in TYPO3 fluid?

Using the extension DCE elements, I created a fluid template generating a li item for every item created. Now I would like to have every first to second item a wrapper. So that:
  • item 1
  • item 2
  • item 3
  • item…
  • Scopestyle
    • 643
    • 5
    • 18
    3
    votes
    1 answer

    In TYPO3, with extbase and fluid, what is the definition of a "widget"

    What is a "widget" in TYPO3? I'm having some challenges creating an extension, and I'm seeing a lot of references to "widgets" doing this and that. I don't know if "widget" is synonymous with "extension". I don't know if it would be a special kind…
    nHaskins
    • 805
    • 8
    • 22
    3
    votes
    0 answers

    typo3 fluid image viewhelper f:image: maxHeight / maxWidth 'c' command does not crop

    I am having an issue with the image viewhelper through the DCE extension on typo3 6.2. This is supposed to resize the image to 400px width and then crop the height to 300px…
    Mario
    • 2,619
    • 1
    • 24
    • 22
    3
    votes
    4 answers

    CSS liquid layouts with fixed padding/margins

    I was wondering if anyone knows of a way to incorporate pixel width paddings or margins to a fluid column design, without the need for extra html markup. To further illustrate, consider a simple html/css layout like this one: