Skip to main content
Tweeted twitter.com/#!/StackExpression/status/287185747310698496
added clarification on why Title Master and other add-ons won't work.
Source Link
nonprofit_tech
  • 4.9k
  • 1
  • 13
  • 25

My client needs longer titles/URL titles/Structure url titles, but there is no add-on available with this specific functionality (I. I already know about these add-ons, but they don't do what I need. A support request with Title Master is already filed, so please don't suggest them)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.

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, so please don't suggest them).

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.

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.

added 51 characters in body
Source Link
kmgdev
  • 2.7k
  • 19
  • 33

My client needs longer titles/URL titles/Structure url titles, but there is no add-on available with this specific functionality (I already know aboutknow about these add-ons, but they don't do what I need, so please don't suggest them).

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.

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, so please don't suggest them).

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.

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, so please don't suggest them).

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.

Source Link
kmgdev
  • 2.7k
  • 19
  • 33

How to Hack the Core for Longer Titles?

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, so please don't suggest them).

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.