I would like to change the page title for the galleries list (/galleries). It seems to be hard coded to 'Gallery List' (in node_gallery_menu()?). Although I can change the menu name, I cannot change the page title, which I would like to do.

Probably I am missing something obvious, but at the moment it escapes me.

Comments

justintime’s picture

http://drupal.org/project/page_title ?

Otherwise, perhaps string_overrides could help. For breadcrumbs, check out custom_breadcrumbs.

scroogie’s picture

What do you mean with page title in this case? If you mean the node title, it should be changed if you change the menu entry. But if you mean the breadcrumb, this is actually a bug. I opened a seperate issue, because I didn't know if this was what you meant.

nasi’s picture

Title: How do I change the galleries title? » Gallery List title does not change when overridden via menu settings
Category: support » bug

I mean the h1 class="title" title, so that is probably what you mean by the node title (although it isn't a node, it's a list of teasers for all the gallery nodes).

Changing the title in the menu entry only changes what is displayed in the menu, not what is displayed as the page/node title when that menu item is selected – this remains as "Gallery List".

scroogie’s picture

I can't reproduce that. For me it adapts.

justintime’s picture

Category: bug » support

Heh, I think he's just talking about the *view* title. By all means, feel free to change that on your own.

nasi’s picture

No, it's not the view title I'm trying to change, it is the title of the global summary view page that is hardcoded into the system by NG. Changing the title on the view does not change this title because the page at /galleries sets its own title and then embeds the view (sans title).

On the title front, weirdly it has now changed to match the changes I have made in the menu settings. This only happened after I did some work with Custom Breadcrumbs (on a different part of the site). Perhaps it was a cacheing issue? Doesn't actually help me though, as I need a different title for the Menu as I do for the Title.

I could use the view directly and then be able to set my own title. The only downside to that is that I then can't use the url /galleries as it is already in use by NG for it's global summary. Perhaps an option on the Global Settings to specify a page title would be a nice option?

cgmonroe’s picture

See #1160388: Use view title when listing all galleries. for a proposed solution to this problem.

scroogie’s picture

Status: Active » Closed (duplicate)