friendlyTitle don't support accents

Hello to all,

I've read the doc searching for a slug method and I found Phalcon\Tag::friendlyTitle but letters with an accents are delete. I didn't find how to solve it. Any idea?

Thanks for advance and sorry for my poor english.

Two solutions :

  • You can try to add your own friendlyTitleWithAccent function to volt that will convert accent to non accent characters, then this function will call the default friendlyTitle
  • Call a function that remove accent then call friendTitle

You may also open an issue on github (cphalcon repo), maybe it needs to be considered as a default behaviour in the future versions !

Add a function to volt : Quick example of removing accents :

@SneakyBobito and @Phalcon Thanks for the information. I'll test it as soon my job let me free.

@SneakyBobito I think this will be a usefull behaviour.