Thread: Saving to disk
View Single Post
Old 08-04-2014, 01:41 PM   #1
guaranis
Junior Member
guaranis began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2014
Device: none
Saving to disk

I am trying to save to disk in a specific way:

1/ I need to replace foreign characters like ç to c, so I tried
{title:transliterate()}

2/ I want to remove un-wanted characters with
{title:re([^a-zA-Z0-9], )}

3/ I need to cut the title to 100, so I used this
{title:substr(0, 100)}

All of them work in the template editor if used separately, but how to get all of them to work in the same time.
Any idea?
guaranis is offline   Reply With Quote