Hi Guillermo,
great plugin! I still use ids, because I haven't thought yet on how to
create slugs. Actually I did but didn't like to code it in every model
class. The only thing that I would extend is to make the replacement rules
customizable. I have the same as you but would transform german umlauts to
their non umlaut equivalent.
$v = str_replace(array("Ö","ö","Ä","ä","Ü","ü","ß"),
array("Oe","oe","Ae","ae","Ue","ue","ss"),$v);
Hope this survives eventual reencoding :)
I know that this does not exist for all languages, but for example in finish
it is common to replace "ä" and "ö" with "a" and "o".
.: Fabian
-----Original Message-----
From:
[EMAIL PROTECTED]
om
[mailto:[EMAIL PROTECTED]
groups.com] On Behalf Of Guillermo Rauch
Sent: Sonntag, 2. September 2007 20:19
To: symfony developers
Subject: [symfony-devs] Plugin released
(sfPropelActAsSluggableBehaviorPlugin)
Hello,
I've released a symfony model behavior plugin, to make it easy to
create pages with slugs and take advantage of clean routing
Please take a look
http://trac.symfony-project.com/trac/wiki/sfPropelActAsSluggableBehaviorPlug
in
I haven't added it to the list, as I want to know what you guys think
first. I also don't have a SVN account to upload it to the repository.
Thanks in advance,
Guillermo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---