Suggestion #7653
calculation
Status: | Resolved | Start date: | 2010-05-05 | ||
---|---|---|---|---|---|
Priority: | Could have | Due date: | |||
Assigned To: | Bastian Waidelich | % Done: | 20% |
||
Category: | - | ||||
Target version: | - | ||||
Has patch: | Tags: |
Description
Something like: {whatever - 1} or {operand1 - operand2} would be great.
A calculation viewhelper would be sufficient as well.
e.g. :
<f:calculate operand1="{something}" operand2="{somethingElse}" operator="-" />
Associated revisions
[+FEATURE] Added first version of a CalculationViewHelper (Package). Relates to #7653
History
#1 Updated by Christian Müller about 5 years ago
- Category set to ViewHelpers
- Assigned To set to Christian Müller
#2 Updated by Christian Müller about 5 years ago
- File CalculationViewHelper.php added
- % Done changed from 0 to 20
first version upload, drop into Fluid/Classes/ViewHelpers/ and see comments in file for examples.
IMPORTANT: This file is made for FLOW3, should be easy to adapt for TYPO3 4.x with fluid but will not run out of the box.
#3 Updated by Christian Müller about 5 years ago
- File CalculationViewHelper.php added
- File CalculationViewHelperTest.php added
Cleanup version with FLOW3 basic testcase
#4 Updated by Christian Müller about 5 years ago
- File deleted (
CalculationViewHelper.php)
#5 Updated by Bastian Waidelich about 5 years ago
- Tracker changed from Feature to Suggestion
- Project changed from TYPO3.Fluid to Fluid - ViewHelper - Incubator
- Category deleted (
ViewHelpers)
#6 Updated by Christian Müller about 5 years ago
- Status changed from New to Accepted
#7 Updated by Bastian Waidelich about 5 years ago
- Subject changed from Add basic calculation capabilities. to calculation
#8 Updated by Bastian Waidelich about 5 years ago
- Assigned To changed from Christian Müller to Bastian Waidelich
#9 Updated by Bastian Waidelich about 5 years ago
- Status changed from Accepted to Resolved
- Assigned To changed from Bastian Waidelich to Christian Müller
The ViewHelper is now part of the Incubator distribution (v4 & v5)
#10 Updated by Simon Schaufelberger over 4 years ago
- Assigned To changed from Christian Müller to Bastian Waidelich
Bastian Waidelich wrote:
The ViewHelper is now part of the Incubator distribution (v4 & v5)
Hi Bastian ,
I was searching for that viewhelper in TYPO3 4.4.4 but i cannot find it. Where is it hidden?
This Viewhelper should also go into the fluid package of TYPO3! Please before the release of TYPO3 4.5 so that it comes with 4.5!
#11 Updated by Bastian Waidelich over 4 years ago
Simon Schaufelberger wrote:
The ViewHelper is now part of the Incubator distribution (v4 & v5)
I was searching for that viewhelper in TYPO3 4.4.4 but i cannot find it. Where is it hidden?
Hi Simon.
What do you mean? The Calculation ViewHelper is part of the Incubator distribution. See http://forge.typo3.org/projects/package-viewhelperincubator/wiki/Fluid_ViewHelper_Incubator
It won't be part of the Fluid core for now.