My client needs longer titles/URL titles/Structure url titles, but there is no add-on available with this specific functionality. I already know about these add-ons, but they don't do what I need. A support request with Title Master is already filed, it extends titles in Structure, but the url_title
is still cut-off at the shorter length, all three components needed to be extended.
So I need to hack the core, but I'm not sure which files I need to modify. So far, I've found these 2 files:
- /system/expressionengine/controllers/cp/content_publish.php, lines 2279 & 2291
- /system/expressionengine/third-party/structure/tab.structure.php, line 156
Those files seem to update the "maxlength" parameter on the HTML for the 3 title input fields.
And I've found these database tables:
- exp_channel_titles > title
- exp_channel_titles > url_title
- exp_structure_listings > uri
So I think I just need to change a few more files, but I don't know where they are:
- Javascript file that controls the URL Title auto-fill on the publish page.
- Javascript file that controls the Structure URL Title auto-fill on the publish page.
- Structure Page URL database column.
Does anybody know where these are, and possibly what line number I need to edit? Am I forgetting anything? Thanks.