Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-06-29 17:40:21

morgant
Plugin Author
From: Vermont, United States
Registered: 2004-06-22
Posts: 63
Website

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.

Offline

#2 2008-06-30 17:21:41

morgant
Plugin Author
From: Vermont, United States
Registered: 2004-06-22
Posts: 63
Website

Re: Convert text to URL-only title style?

I whipped one up: mta_sanitize.

Offline

Board footer

Powered by FluxBB