Closed (works as designed)
Project:
GMap Module
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
22 Dec 2008 at 16:28 UTC
Updated:
6 Sep 2015 at 11:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
keyone commentedI 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????
Comment #2
kasiawaka commentedThanks. I was looking for it all over the place.
Comment #3
Suzy commentedThank 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?
Comment #4
Suzy commentedSo 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 :)
Comment #5
Suzy commentedduplicate
Comment #6
memberr commentedThank you i was looking for the exact same thing ( a way to rename the map/node link )
;)
Comment #7
ñull commentedCorrect work around, but I changed this in a feature request: This should be more intuitive!
Comment #8
pieterdcgmap_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
Comment #9
functions commentedthanks 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
Comment #10
functions commentedAlso, 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 | );
Comment #11
tobedeleted commentedSo is it fair to assume that this will be included in the next release?
Comment #12
ChrisRut commented:subscribe:
Comment #13
alleyndn commentedI 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
Comment #14
distanceroller commentedI 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?
Comment #15
nicholasthompsonNot 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.
Comment #16
prinoba commentedThanks for your hint :) It works perfectly.
Comment #17
podarokall feature requests can be imported in 6.x version after committing em in major versions with backport afterwards
Can You make this ?
Comment #18
anpolimusThis pages already have title parameters that could be altered with default Drupal hooks.
Comment #19
anpolimus