Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Convert text to URL-only title style?
Is there a plug-in out there that will convert to URL-only format (i.e. using sanitizeForUrl()
& stripSpace()
)? If not, I’ll write one.
I’ve got a couple places where I’d need to build links between sections, but want the custom field to contain the non-converted title (so fewer database requests and easier for the users) and convert on the fly.
Morgan Aldridge
http://www.makkintosshu.com/
Offline
Re: Convert text to URL-only title style?
I whipped one up: mta_sanitize.
Morgan Aldridge
http://www.makkintosshu.com/
Offline