I know that the support can’t endorse any hacks by helping with them, so I am hoping the community might be able to come up with something for this.
I need mixed-case titles. I had EE 1 hacked so that this was not a problem and I almost have EE 2 hacked to do the same.
What I have done so far is this:
In <system>/expressionengine/modules/channel/mod.channel_standalone.php:
commented out this line: NewText = NewText.toLowerCase();
added “A-Z” to this line: NewText = NewText.replace(/[^a-z0-9-_]/g,’‘);
In <system>/expressionengine/helpers/EE_url_helper.php:
removed strtolower() from this section:
if ($lowercase === TRUE)
{
$str = strtolower($str);
}
add “A-Z” to this line: [^a-z0-9\-\._]
I don’t know for sure if all of these changes were actually needed, but I think so. By the look of it, the changes to mod.channel_standalone.php should take care of any submissions via a stand-alone entry form and the changes to EE_url_helper.php should take care of regular postings.
It almost does, except for the live URL. The URL generated as I type a title is generated in lower case. However, if I delete it before I save the post, it saves the post with the same case in the url title as the title.
If anyone might be able to tell me how to get the live URL title to co-operate as well, I would be very grateful.