Download & Extend

Change title of basic "Node locations" page?

Project:GMap Module
Version:7.x-1.x-dev
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

I can't figure out how to change the title of the node location page at /map/node/. I did figure out how to customize the intro text there, but want to also change the title. I tried to create a view to simulate this output, but got mysql errors when I tried to use taxonomy based markers. The taxonomy based markers work perfectly in the /map/node view!

Thanks, Carol

Comments

#1

I figured this out. It's in the Navigation Menu.

Administer > Site Building > Menus

Find Node Locations in there, then click the edit link next to that item. Why was that so hard for me to find????

#2

Thanks. I was looking for it all over the place.

#3

Thank you, it does work, however I would like any other answers that are going.. because it's not working on my setup

If you don't want it (the original link) in the original navigation menu, then it still won't change the main Map page title

I consider it an extra and don't want in the main nav menu, and even I did I might (do!) want to have a slightly longer title than my one word menu title.. so it's still not working for me

any other pointers?

#4

So I figured a solution, thanks to the OP's reply!

I leave the link to the map/node location page in the main nav and set the title in there, but I disable the actual link as a menu item

then I go and manually add a link to the other "browse" menu I have and in there it can say what it likes, and the path is my friendly URL, click through from that link and the page Title is what has been set in the Original Nav menu, really intuitive!!

Anyway OP is right, it shouldn't be this hard, and I'm only posting this here in the hope that some day when I'm trying to figure out why I have two menu entries for the same thing, a search will turn up this thread :)

#5

duplicate

#6

Thank you i was looking for the exact same thing ( a way to rename the map/node link )

;)

#7

Category:support request» feature request

Correct work around, but I changed this in a feature request: This should be more intuitive!

#8

Version:6.x-1.0» 6.x-1.1-rc1
Status:active» needs review

gmap_location.module's hook_menu implementation lacks the use of the t-function
if you apply this patch, you'll be able to change the basic "Node locations" page using drupal core translating functionality

AttachmentSizeStatusTest resultOperations
gmap_350168.patch1.12 KBIgnored: Check issue status.NoneNone

#9

thanks for everyone's thoughts in this thread. This extremely little issue was destroying my mind. ok.. it wasn't like THAT, but I really appreciate this quick fix. :) -dan

#10

Also, if you want to change the page title (meta tag) of the Node Location page, you can edit line 75 of gmap_location.module (found in the gmap module folder). I wanted the page title text to be different than the on-page {h1} tag for SEO purposes.

Maybe this might help someone else too.

73 | $items['map/node'] = array(
74 | 'type' => MENU_NORMAL_ITEM,
75 | 'title' => '**Whatever you put here will appear as the meta page title**',
76 | 'access arguments' => array('show node map'),
77 | 'page callback' => 'gmap_location_node_page',
78 | );

#11

So is it fair to assume that this will be included in the next release?

#12

:subscribe:

#13

Project:GMap Module» Page Title
Version:6.x-1.1-rc1» 6.x-1.x-dev
Category:feature request» task

I am having some difficulty. I need to input different page titles on the navigation menu of my website. Navi menu is Home, ABOUT US, SERVICES etc. And I need a different page title and keywords on each page. I have the page title module as well metadata tags modules installed and still cant not get it to work. please advise

#14

I have been able to change the title of basic "Node locations" page modifying the navigation menu. My problem is when I try to translate the title to different languages. It looks like I can only have one title.

Any ideas?

#15

Project:Page Title» GMap Module
Version:6.x-1.x-dev» 6.x-1.1-rc1
Category:task» feature request

Not entirely sure why this was moved from one module to Page Title.

Page Title has hooks to support 3rd party modules if they wish to integrate.

As for the above suggestion of, essentially, "hacking" the module - thats a VERY bad idea. It breaks your upgrade path. If you need to alter the Title for just your site (or maybe just one of many in a multisite) just run a custom "tweaks" module which implements hook_menu_alter and change the menu item in that.

#16

Thanks for your hint :) It works perfectly.

#17

Version:6.x-1.1-rc1» 7.x-1.x-dev
Status:needs review» needs work

all feature requests can be imported in 6.x version after committing em in major versions with backport afterwards
Can You make this ?

nobody click here