Project

General

Profile

Actions

Task #87506

closed

Previous Feature: #79402 - New Fluid ViewHelper f:variable added -> Exception

Added by Forger Service over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-01-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Dear TYPO3-Team,
thanks for introducing an easy variable set command in TYPO3 9. Unfortunately the inline-command leads to an exception: {myoriginalvariable -> f:variable.set(name: 'mynewvariable')}

The ViewHelper "<f:variable.set>" could not be resolved.

To be shure I also tested by using the example code on https://docs.typo3.org/typo3cms/extensions/core/Changelog/8.6/Feature-79402-VariableViewHelperForFluid.html

Additional question on usage: Is it possible to change values in a TYPO3-arrays e.g. FSC Image.html:
`{gallery.position.horizontal -> f:variable.set(name: 'somethingelse')}`

This did not work:
`<f:variable name="gallery.position.horizontal" value="test" />`

Thanks for you work.

This issue was automatically created from https://github.com/TYPO3/TYPO3.CMS/pull/159

Actions #1

Updated by Georg Ringer about 5 years ago

It seems the usage is wrong.

1st: the VH is called f:variable and not f:variable.set
2nd: the name shouldn't contain any dots

Actions #2

Updated by Georg Ringer about 5 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF