Active
Project:
OG Panels
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jun 2010 at 15:25 UTC
Updated:
30 Mar 2011 at 12:57 UTC
Jump to comment: Most recent file
I created a page titled 'Overview' and then I set it to be the 'home' page, but then I noticed that it actually changed the name of my group to 'overview'. It also changed my pathauto alias to match the 'overview name.
I tried again with the name 'home', but I had the same result.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | fix_homepage_group_name.patch | 880 bytes | jimthunderbird |
Comments
Comment #1
jimthunderbird commentedHi Clifford,
Thanks for pointing out this issue.
Attached is a patch to fix it. Could you apply it and see if it solved the problem?
Best Regards,
Jim
Comment #2
meecect commentedok, I think it's better, but not perfect. Now, my group name stays the same, as it should, and my group alias stays the same, as it should.
However, when going to my group home, the bread crumb is incorrect. My group is called 'Test Group' and the test page I made is called 'Test Page' and is set to be the home tab. So now, my breadcrumb reads "Home >" where it used to read "Home > Group > Test Group"
Further, the text in the home tab (the tab title) still says 'Home' which might be by design, but the page title (directly above the tabs) says 'Test Page', and shows that for each of the tabs, although the breadcrumb behavior seems to be slightly different on each tab. Some just say "Home>", Some say "Home > Test Title", and my other groups that don't have a new home tab set usually consistently say 'Home > Group > Group Name'
Comment #3
liquidcms commentedmaybe my issue isn't quite the same but seemed close enough i'd mentioned here.
I would like my group home page to have the title of my group. Is there anyway to have og_panels not mess that up.
My only options seem to be set panel home page title - which doesn't support tokens so i get that static text as my home page title OR leave the field blank in which case i get no title.
I applied patch above - no help.
I have the latest -dev version.
Comment #4
liquidcms commentedalso, maybe partially related - why doesn't the panel title take the View title? i seem to need to Override every pane or else it picks up the Page title. - bu maybe i should raise this as sep issue?
Comment #5
jakchapman@groups.drupal.org commentedI don't understand changing the node title at all. To me, the fact that the tab is active is enough indication and I'd rather the title continue to be the group name. I just commented out both lines that change the node title (808 and 816) and now it seems to behave as I would intuitively expect. Is there something functional I'm missing as to why the node title is being changed?
Comment #6
chrisschaub commentedI could see how being able to set the homepage title might be a good thing for some situations. What about having an option to let folks set the homepage to "None" and then check for that:
Comment #7
goose2000 commentedYeah, don't throw out the Group's Name. Without that, do really even have a group at all? Without the context of the Group's Name, you just have a bunch of nodes tossed about.
Comment #8
goose2000 commentedSo I have circumvented this problem by removing most of the function. I do not want this module destroying the Group's Name. Now my Group Name is displayed persistently across all the tabs:
I guess I still need the switch for handling the 'delete' case.
Comment #9
goose2000 commentedThere is another competing function in all of this as well. I commented out the line near the bottom,
// drupal_set_title($node->title);
And now, I can get a persistent Group Name (done in a block) and also have the tabs change the page title too. I then made some logic so that on the group home page, my group_name_block is not displayed there, as I would being showing the Group's name twice.
There is a lot of messin with $node->title in this module.
Comment #10
danielm commentedSubscribing