In EE 1, I managed to crack the source so that I could save url headers with the exact case of the name. That is, I was able to keep it from forcing all url headers to lowercase.
I need to reproduce the same behavior on EE 2, but so far I have not managed enough.
What i have done so far:
In <system>/expressionengine/modules/channel/mod.channel_standalone.php: commented out this line: NewText = NewText.toLowerCase(); added "AZ" 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); } added "AZ" to this line: [^a-z0-9\-\._]
I donβt know for sure if all these changes are needed, but I think so. In his opinion, changes to mod.channel_standalone.php should take care of any submissions through a separate application form, and changes to EE_url_helper.php should take care of regular publications.
This is almost the case except for the direct URL. The URL generated when the header is entered is lowercase. However, if I delete it before I save the message, it will save the message with the same case in the url header as the header. At least he does this most of the time. Sometimes it is saved with lowercase.
If anyone could tell me how to get the name of the direct URL to work with, I would really appreciate it.
source share