Hi,
Sorry if it's already posted before. But could you add some PHP string function (like strtoupper, ucfirst, substr etc) as parameter for the show tag?
I know it's not really that important and someone could easily achieve it using CouchCms php tag, but i really think it could be a nice addition for CouchCms.
Thanks and regards
Sorry if it's already posted before. But could you add some PHP string function (like strtoupper, ucfirst, substr etc) as parameter for the show tag?
I know it's not really that important and someone could easily achieve it using CouchCms php tag, but i really think it could be a nice addition for CouchCms.
- Code: Select all
//so instead this:
<cms:php>echo (ucfirst(<cms:show k_page_foldername />));</cms:php>
//we could write it like this:
<cms:show format='ucfirst' k_page_foldername />
Thanks and regards