Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
aggregator.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 May 2009 at 20:57 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
akahn commentedMissed a period.
Comment #2
dries commentedAdding to my favorites.
Comment #3
sunPlease remove the blank space after the path. In general, though, we also want to rework PHPDoc comments so they wrap consistently at 80 chars when doing stuff like that.
AFAIK, we do not append "settings" to the title. All items below "Site configuration" are settings, by definition.
Comment #4
akahn commentedI agree with no space after the path. I thought maybe there was a reason it was like that before.
It looks like of the modules I have enabled, the only one with "settings" is "Regional settings." The reason I like "Aggregator settings" is that when you're on the page, having just the title "Aggregator" is not very descriptive. You need to look at the path or the breadcrumb to know where you are. "Aggregator settings" in that context is more clear. Obviously on the "Site configuration" page it's redundant.
But here's a patch with both changes.
Comment #5
sunIf you want the page title to be "Aggregator settings", then you need to do drupal_set_title(t('Aggregator settings')); in the page callback.
However, since this would have to be done for all configuration pages, I wonder whether we shouldn't add a new property to hook_menu() elements instead to allow to define the page title separately from the menu item title. As in:
That would make sense to me. But definitely a separate issue.
Comment #6
dries commentedCommitted to CVS HEAD. Thanks.
Comment #7
sunFYI: #465958: Allow to define separate 'page title' in hook_menu()