Opened 8 years ago

Closed 7 years ago

#1085 closed defect (wontfix)

URI-Slug

Reported by: markusliechti Owned by: comvation
Priority: normal Milestone: unknown
Component: other(specify) Version: 3.0.1
Severity: normal Keywords: URI, Contrexx3
Cc:

Description

URI-Sug shoud be converted automaticly to lowercase

Attachments (1)

bug_report_uri_to_lowercas.png (25.8 KB) - added by markusliechti 8 years ago.
URI-Slug Example

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by markusliechti

URI-Slug Example

comment:1 Changed 7 years ago by michael.ritter

  • Resolution set to wontfix
  • Status changed from new to closed

This won't be fixed. If you need this for some reason, do the following in /lib/javascript/contentmanager.js:

Somewhere outside any brackets below the definition of cx.cm method, add the following line: cx.cm.origSlug = "";

In the cx.cm method, below the line $J('#page input[name="page[slug]"]').keyup(function() { (around line 462) add:

if (cx.cm.origSlug == "") {

jQuery(this).val(jQuery(this).val().toLowerCase());

}

And finally, in the cx.cm.pageLoaded method (around line 2249) add the following line somewhere:

cx.cm.origSlug = page.slug;

This will lead to the desired behaviour...

Note: See TracTickets for help on using tickets.