Closed (fixed)
Project:
AddToAny Share Buttons
Version:
6.x-2.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Dec 2009 at 06:24 UTC
Updated:
4 Aug 2010 at 19:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
gregarios commentedPage Title module has an issue submitted for this too: http://drupal.org/node/651864
Maybe you guys can figure out who's module is at fault...
Comment #2
micropat commentedHmm... I was not able to reproduce. If you could provide some details, how exactly do you have both modules setup?
Comment #3
gregarios commentedIt seems to only happen when Taxonomy term pages are being viewed. Attached are screenshots of my settings.
Comment #4
siddhen commentedI have seen this issue when I add the AddtoAny block in the sidebar.
It works fine for nodes pages but for views pages the title that appears shows the Page Title tokens.
Comment #5
nicholasthompsonThe bug is in this module.
So.. What if there is no $node? If you're on anything other than a node page, it falls back to the frontpage title (rather than the current page title). Not only that - it assumes Page Title is installed :)
My advice is for the
$link_nameeither solely use drupal_get_title or (my preferred method)..This will use Page Title (if present) and therefore any overridden page titles and token patterns, falling back to drupal's core get title function if Page Title is not present. Hopefully this should work for you.
Comment #6
micropat commentedComment #7
micropat commentedFixed in 3.0
Comment #8
dewolfe001 commentedOn this page, http://sandbox.game-boyz.com/content/node/12818, when I had AddToAny active as well as CCK and the Page Title modules, there was a bad interaction.
As the theming iterated through the content fields, the $page variable gets reset. For page views, it begins as TRUE, then the call to get the $link_name for the AddToAny gets called. After this point, $page is not set to TRUE. After that, all of the display fields that are not set to display on teaser views will not display.
In looking through Page Title, I couldn't see where this was being reset.
My workaround was to kludge together similar functionality from AddtoAny widget and implant that directly in the theming output where I wanted it to appear and not use the AddToAny module.
Comment #9
mcrittenden commentedPlease open a separate issue for #8.