Closed (fixed)
Project:
Google Plus One Button | Google+ Badge
Version:
6.x-1.0-rc8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2011 at 10:53 UTC
Updated:
3 Aug 2011 at 11:31 UTC
The button in the block is supposed to appear on all pages and refer the front page (the base url), right?
Well for anon users it only seems to show up on node views where there is another button in the node. Perhaps the script necessary is only loaded on node views for anon users?
Comments
Comment #1
lennart commentedActually, it seems to connected with cache. When turning of block cache tu button appears in the block on all pages (node view or not) as it should.
Comment #2
lennart commentedChanging title to reflect new knowledge.
Comment #3
corbacho commentedThanks for reporting it.
The js library is loaded when block view hook is executed. So because it's cached, the library is not added.
Later today I will push a version with 'DRUPAL_NO_CACHE' in the block info that should fix it.
The block only inserts a string (the button tag) in the block, so no reason to worry about performance
Comment #4
corbacho commentedI pushed it yesterday, but takes some hours until it's ready to download packaged.
Now is there. The last dev version should work. Could you confirm?
Comment #5
lennart commentedYes, now it shows! Thanks!
Comment #6
corbacho commentedgreat