Ticket #3752 (new enhancement)

Opened 1 year ago

Last modified 7 months ago

Long Page Titles in Page Parent

Reported by: andymatic Assigned to:
Priority: low Milestone: 2.6
Component: Administration Version:
Severity: minor Keywords: has-patch dev-feedback
Cc:

Description

When using long titles for Pages and with many Pages in the system, the Page Parent drop-down (Manage/Write > Pages) goes off the edge of the browser window and the scroll-bar to scroll up and down to select the parent is also not visible to the user. Not sure if this can be fixed via CSS for the menu or having WP truncate the Title or having the Title broken up into multiple lines.

Attachments

3752.diff (1.0 kB) - added by rob1n on 03/20/07 04:22:02.
Cut it off at 80 characters (modifiable by a filter) and add a ... to the end (in HTML entities).
3752.2.diff (1.0 kB) - added by rob1n on 03/21/07 01:48:23.

Change History

03/17/07 02:07:20 changed by rob1n

  • owner changed from anonymous to rob1n.
  • status changed from new to assigned.
  • type changed from defect to enhancement.
  • milestone changed from 2.0.eventually to 2.2.

I don't know what can be done about this, though truncating the titles seems like a good option.

andymatic: How long is "long titles"?

03/17/07 02:07:32 changed by rob1n

  • keywords set to reporter-feedback 2nd-opinion dev-feedback.

03/20/07 04:22:02 changed by rob1n

  • attachment 3752.diff added.

Cut it off at 80 characters (modifiable by a filter) and add a ... to the end (in HTML entities).

03/20/07 04:22:29 changed by rob1n

  • keywords changed from reporter-feedback 2nd-opinion dev-feedback to has-patch dev-feedback.

It's a bit hacky (to me, at least), and I have no idea if 80 characters is "long."

03/21/07 00:40:30 changed by ryan

substr could mangle multi-byte character sets.

03/21/07 01:48:23 changed by rob1n

  • attachment 3752.2.diff added.

03/21/07 01:48:52 changed by rob1n

I added in a check for mb_substr() and used it if it's there, but I don't know what we could do apart from that...

03/27/07 02:27:29 changed by foolswisdom

  • milestone changed from 2.2 to 2.3.

04/25/07 02:31:45 changed by rob1n

  • status changed from assigned to new.

09/02/07 19:21:41 changed by foolswisdom

  • milestone changed from 2.3 to 2.5 (future).

12/19/07 07:29:17 changed by rob1n

  • owner deleted.