Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
r1736 - Creating a new category
I don’t think this is a new issue or specifically related to this revision, but…
If I create a new category called, for example, “My New Category”, both the name and title are converted to “my-new-category”. I would expect that to happen for the name, but would it be possible to leave the title as it was entered?
Offline
Re: r1736 - Creating a new category
In the cat_event_category_create function, this can probably be fixed by moving the line <code>$title = doSlash($name);</code> above the line <code>$name = stripSpace(ps(‘name’), 1);</code>.
That’s how it is done in the cat_event_category_save function which doesn’t change the title upon saving after edit. Spaces at the beginning or ending of the title are not stripped there… is that okay?
Last edited by ruud (2006-08-20 16:24:47)
Offline
Pages: 1