PHPTAL icon indicating copy to clipboard operation
PHPTAL copied to clipboard

documentation not up to date with latest features

Open adjenks opened this issue 8 years ago • 1 comments

I recently used the features described in the NEWS section:

PHPTAL 1.3.0 2014-03-16

Added support for closures
Added support for namespaced classes in TALES modifiers
Added default json and urlencode modifiers
...

In particular the urlencode modifiers.

I was looking everywhere how to do it, but I couldn't find them in the documentation, only in the NEWS section. I'm glad they are there, and they work, even inside of escaped variables like so:

 <a tal:attributes="href string:http://www.example.com/${urlencode:myVarWithBadCharacters}">test</a>

which is awesome, but documentation should really be there.

adjenks avatar Apr 07 '17 22:04 adjenks

I'm watching the website subproject. If you push changes there I'll update the site.

kornelski avatar Apr 24 '17 23:04 kornelski