[cvs] [Wiki] created: Doc/Dev/Slugs
Chuck Hagenbuch
chuck at horde.org
Mon May 19 03:15:25 UTC 2008
chuck Sun, 18 May 2008 23:15:25 -0400
Created page: http://wiki.horde.org/Doc/Dev/Slugs
+ Slugs in Horde Applications
++ What is a slug?
wikipedia link, etc.
++ Slug specification for Horde
- allowed characters
- length
++ Autogeneration
++ JavaScript support
++ URL rewriting
----
* you can't create slugs with hyphens or underscores, even though these are
valid in urls
* the character limit is quite short (longer titles can be useful for SEO).
====
and a few usability enhancements...
* javascript to auto-generate the slug based on the form title would be
nice. Similar to how EE does things, when the slug field is empty, as a
user types in the page title, the slug is generated, converting spaces to
underscores or hyphens (could be config, or default to underscore). Once
the slug input has a value, changing the title doesn't change the slug.
* display a warning if a user tries to change the slug after a form has
already been saved ("Warning: changing the slug will cause the link for this
form to change.")
More information about the cvs
mailing list