Closed (fixed)
Project:
Tribune
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2008 at 13:08 UTC
Updated:
21 Sep 2009 at 21:22 UTC
Hi,
Once again, brilliant module.
I am not using it also as a micro-blog, but I would like to have the ability to rename the tribune page to something else. Like "micro blog". (yes, I ooze originality...)
We can rename the block, but not the actual tribune page atm.
Comments
Comment #1
SeeSchloss commentedWell, I think you can already do all you want from Drupal, you can change the page title in the menu settings (admin/build/menu-customize/navigation) and the page url (if you don't want /tribune) in the URL aliases settings (admin/build/path).
The /tribune url will always work though, but I'm not sure if it is actually possible for a module in Drupal 6 to change its own paths like this
Comment #2
naheemsays commentedYes, you can give it s new url, the link a new location, but when visiting the page, the title at the top is from what I can see a constant: "Tribune".
Comment #3
SeeSchloss commentedWell, I changed the title in admin/build/menu-customize/navigation and the page title did change here, in the tag as well as at the top of the page.
Comment #4
naheemsays commentedI just tried that on two sites running tribune 1.5 and no, that does not change the title, just the menu name... am I doing something wrong?
Comment #5
SeeSchloss commentedI don't really know, that is the right way of changing a page title... but other people have had your problem with other modules, it seems (http://drupal.org/node/39644 for example). Do you have any module installed which does things with titles ?
Comment #6
naheemsays commentedNope.
I will have a look at the code to see if I can find a problem there (saying that, I have had intermittent problems with CSS as you know, and the code there looks fine..)
I have the same problem of not being able to rename the tribune page on three separate installs of Drupal, all with differing modules.
EDIT -Just had a look at
unction tribune_page()andtheme_tribune_page. The menu item sets the page name to "Tribune" and there is no call to a drupal_set_title() which would change the page name from what the original is. Am I missing something?Comment #7
SeeSchloss commentedYes, the menu item sets the default page name to "Tribune", and that is what the
admin/build/menu-customize/navigationsettings override. I just changed the title of the default page to "Tribune (hello, nbz)" there (you can see it, http://tout.essaye.sauf.ca/tribune), and it does work there, like in every other place I've tried. It wouldn't work if there were a call todrupal_set_title(), because these are not overriden.I'm really not okay with doing a drupal_set_title() myself in the module's code and adding another configuration option, when all this is already handled by Drupal's core.
Comment #8
naheemsays commentedok, got more info.
If I keep the menu item in the Navigation menu, the page name also changes. But if I move the tribune menu item into primary links, the tribune page name no longer changes.
Looks like a bug either in core, or in my theme, so I will mark this as closed.
Comment #9
SeeSchloss commentedHave you tried to create a new item (linking to your tribune) in the primary links, keeping the navigation menu item, and renaming it to whatever you want but disabling it?
Comment #10
naheemsays commentedYes, tried that now and it works.
The problem was just that I had moved the menu link to a new location and I had expected that to make no difference.
Thanks for being patient with me.
Comment #11
SeeSchloss commentedI don't think it should make a difference, maybe I'll look if it's already been submitted as a core bug... if not, I think this bug should be moved to the Drupal project.
Comment #12
modctek commentedI don't think this works in the latest version of Drupal, does it?