fluid Questions
5
Solved
I try to output my element only if the value of the property fileEn is NULL (fileEn => NULL)
<f:if condition="{file.fileEn}==NULL">
<f:debug title='file'>{file}</f:debug>
<...
Cacilia asked 25/1, 2017 at 12:41
7
Solved
plugin.tx_xxx {
setting {
storagePid = 23
}
}
I want this TYPO3 settings in utility file.
Please help me.
9
Solved
I've a mixed HTML / JS template, when I'm working with JS arrays, Fluid tries to make autosubstitutions.
Is there a way to escape curly brackets in Fluid template ?
UPD :
Actual working syntax...
6
Solved
That simple.
Moving my layout into a fluid territory, working on scalable images. Using the img tag and setting max-width to 100% works perfectly, but i'd rather use a div with the image set as it...
6
Solved
How can I check if a page has a specific ID, and if true output a text?
I thought about something like this (pseudocode):
<f:if condition="{current.page.uid}=='78'">
<p>I am Page 78&...
Baiss asked 17/10, 2016 at 14:12
7
Solved
Is it possible to get the current language key (or code) in a TYPO3 Fluid template?
In the meantime I've found another solution using a view helper found here:
<?php
class Tx_AboUnitReservation...
3
Solved
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
} el...
4
Solved
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
<...
Adler asked 2/11, 2016 at 19:48
2
Solved
I have build a custom content element with a link from field "header_link".
How can I set the title of that link as link text?
In the fluid template I use the link.typolink viewhelperin this way:...
2
Solved
In my TYPO3 Fluid template I have a value where I would like to check if its not empty before showing it.
My way now:
<f:if condition="{myvalue}">
<div class="myclass">{myvalue}</di...
2
I have a VueJS component and I'm trying to add translated text via Fluid tag.
<div xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers">
<h2><...
4
Solved
I want to switch from fluidcontent to flux by removing the obsolete fluidcontent.
As mentioned in here https://github.com/FluidTYPO3/fluidcontent/issues/424,
you have to change the CType for all ...
4
Solved
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 = Pickering
}}
how in my flu...
Dacha asked 31/12, 2013 at 15:20
6
Solved
I've noticed in my own work that 3 fluid columns fill out their parent element much better when their widths are set to 33.333% as opposed to just 33%. I've also noticed when researching various CS...
Capsaicin asked 16/1, 2013 at 17:44
1
I already tried to migrate everything with the help of this post:
TYPO3 Database migration from fluidcontent to flux
My problem now is, that I have container-templates which all end up empty after ...
1
Solved
There are several examples for writing a custom ViewHelper and different ways to do things. I have seen examples with render() and with renderStatic (for example in Developing a Custom ViewHelper)....
Mezzotint asked 5/2, 2019 at 9:25
2
Solved
Problem: I wrote a conditional VH (extending AbstractConditionViewHelper) and it works as usually, anyway I realized that in non-cached version it is evaluated only once. Initialy I thought that's ...
Lyman asked 11/1, 2016 at 18:59
3
Solved
I want viewhelper that can be helpful to assign variable in fluid, I dont want variable to be passed from controller.
Cantharides asked 12/6, 2015 at 13:36
4
Solved
In the Fluid template of a plugin I am working on, some things are hardcoded. For instance:
<f:page.link pageUid="114">link</f:page.link>
Since pageUid values are not the sam...
5
Solved
I am building an extension with a backend module. When I call the findAll() method it returns a "QueryResult" object.
I tried to retrieve objects with findByUid() and it does work.
I set the stor...
Westphalia asked 14/6, 2017 at 8:14
1
Solved
I try to output all variables from my view like this:
<f:debug title="all"> {_all} </f:debug>
But I only get this output:
I used to get an array which I can open and inspect deepe...
Sunbow asked 29/5, 2017 at 14:31
3
Solved
Just need help as I have been trying sort this out for ages now. What I need:
I've got a 2 column layout, where the left column has a fixed width 220px and the right column has a fluid width.
Cod...
1
Solved
I recently upgraded from TYPO3 7.6 to 8.7 and discovered that using
<![CDATA[ { ]]>
to escape a curly brace in Fluid no longer works.
Any advice is appreciated?
11
Solved
I am trying to write the following if condition in fluid but it is not working as I would hope.
Condition
As part of a for loop I want to check if the item is the first one or 4th, 8th etc
I woul...
4
Solved
I have a JSON string with some data I want to render in a template. As Fluid arrays are notated in JSON too, I thought I might just take that JSON string and hand it over to fluid, telling it to tr...
Tomtoma asked 3/12, 2014 at 14:42
1 Next >
© 2022 - 2024 — McMap. All rights reserved.