Quantcast
Channel: Adobe Community : Popular Discussions - System Updates
Viewing all articles
Browse latest Browse all 9801

R203.7 Minor system update

$
0
0

Today, April 16th, at 13:00 UTC, we will update the new version of Business Catalyst service to fix some minor issues and update the liquid engine by adding new filters. You can find below the list of new filters that will be available after this release:

  • truncatewords (truncate a string down to X words)
  • unescape (opposite of escape, aka HTML decode)
  • url_param_escape, url_param_unescape (to encode a parameter than can be appended to an URL and then be decoded)
  • replace_first   
  • rounding filters: floor, ceil and round
    • ex: {{4.6|floor}} -> 4, {{4.5|ceil}} -> 5, {{4.5|round}} {{4.5|round:2}}
  • newline_to_br
  • strip_ newlines
  • date_utc: converts a date to UTC (assuming that the date is always given in the site’s timezone). 
    • ex: {{globals.site.dateNow | date_utc}}
  • renamed currency to money
  • default filter (set value if not set, use default value)
  • slice - ex: {{ "hello" | slice: -3, 2 }}
  • strip, lstrip, rstrip

 

More information about liquid can be found on the liquid documentation page.


Viewing all articles
Browse latest Browse all 9801

Trending Articles