Package

ViewHelpers

ViewHelper Documentation

v:format.prepend

Format: Prepend string content

Prepends one string on another. Although this task is very easily done in standard Fluid - i.e. {add}{subject} - this ViewHelper makes advanced chained inline processing possible:

{dateTime.timestamp
    -> v:math.sum(b: 3600)
    -> v:format.date(format: 'Y-m-d H:i')}
<!-- You don't have to break the syntax into lines; done here for display only -->

Arguments

add string

subject string

ViewHelper Resources

Schema Resources