On my front page the provider icons don't show. Instead of images only the squares are displayed, but everything else works. Screenshot attached.
I checked the image url, it's a bit strange:
background: white url(/sites/all/libraries/openid-selector/images/,sites/all/libraries/openid-selector/images/openid-providers-en.png);
I suspect that it may be happening because I have the login block in the custom pane on the front page.
But I wonder why on the front page the squares are large, but on other pages the icons are small? I'm using the same login block.
~~~~~~~~~~~~~~~~~
HobbyBlob.com
Comment | File | Size | Author |
---|---|---|---|
#20 | login-screen-openid-selector-blanks-white-images.JPG | 19.12 KB | cj-a-min |
openid.png | 149.58 KB | alexbk66- |
Comments
Comment #1
alexbk66- CreditAttribution: alexbk66- commented[HACK]
I put explicitly in openid-jquery.js (function getBoxHTML):
this.img_path = '/sites/all/libraries/openid-selector/images/';
And it seems to fix the problem, but sure it is a temporary hack.
I wonder why the path is doubled in the first place (and only on the front page)?
And the site name on the button on the front page is doubled too: "HobbyBlob,HobbyBlob"
~~~~~~~~~~~~~~~~~
HobbyBlob.com
Showcase your Hobby to the whole world!
Comment #2
andriy_gerasika CreditAttribution: andriy_gerasika commentedPlease View Page Source of your website and check javascript code:
compare this to excerpt from http://www.gerixsoft.com/user/login:
Notice your website contains duplicate Drupal.settings.openid_selector.img_path values encoded as JSON array, which is root of problems. This duplication happens only for OpenID Selector module settings. I suspect this happens because form_alter code is invoked twice for OpenID Selector.
Please undo all your local modifications to OpenID Selector code, reinstall it and recheck View Page Source -- Drupal.settings Javascript code should be as in 2nd excerpt.
Comment #3
andriy_gerasika CreditAttribution: andriy_gerasika commentedComment #4
alexbk66- CreditAttribution: alexbk66- commentedThank you andriy.
As I'm not really a Drupal expert, can you please elaborate on"recheck View Page Source -- Drupal.settings Javascript code should be as in 2nd excerpt"?
On my user/login page it works fine, it's just a problem on the front page.
Comment #5
andriy_gerasika CreditAttribution: andriy_gerasika commentedhold on, I guess it is side effect of Login Tobogann module you are using
I must retest if OpenID Selector is working w/ Login Tobogann module
Comment #6
alexbk66- CreditAttribution: alexbk66- commentedBTW, why does it show large icons on the front page, but small icons on all other pages (which look better anyway)?
HobbyBlob.com
Comment #7
andriy_gerasika CreditAttribution: andriy_gerasika commentedit is not LoginToboggan, but Panels
it shows large icons because hook form_alter is invoked twice for OpenID Selector -- I suspect this is because of Panels module
Can you please export the Panel you are using as user login block -- I am not Panels user and cannot recreate necessary settings.
Comment #8
alexbk66- CreditAttribution: alexbk66- commentedThanks andriy,
I'm not an expert in Drupal, can you please explain what you mean by "export the Panel you are using as user login block"?
Comment #9
wastrilith2k CreditAttribution: wastrilith2k commentedIt looks like the issue is that the css for the openid-selector library is not being imported.
James
Comment #10
wastrilith2k CreditAttribution: wastrilith2k commentedActually, in my case it looks to be theme based. I'm using OpenAtrium with the default Ginko theme and the reset.css seems to be overriding the library's css.
Comment #11
wastrilith2k CreditAttribution: wastrilith2k commentedOk, here is what I found regarding OpenAtrium:
The Tao template theme does it in it's template file by removing certain CSS files and openid.css is one of these.
You can either use the shadow skin that comes with the openid-selector library or go into the library's css folder and copy the openid.css file to something like openid-working.css and then select the skin named working in your Administration section for OpenID Selector.
James
Comment #12
alexbk66- CreditAttribution: alexbk66- commentedThanks wastrilith2k, I'm using Drupal Commons, aquia_commons theme.
Can you please explain how exactly I can "use the shadow skin that comes with the openid-selector library"?
If you reckon the theme is causing the problem, I will also open the issue on Drupal Commons forum.
HobbyBlob.com
Comment #13
andriy_gerasika CreditAttribution: andriy_gerasika commenteddisable OpenID Selector module -- as soon as you will disable it, you will see that it is actually login form embedded in panel, looking as if it is user login block.
after that fix your website programming to embedd user login block (not form) inside the panel
once done (user login block is embedded, not form), enable OpenID Selector back
let me know how it goes.
Comment #14
konrad1811 CreditAttribution: konrad1811 commentedI just installed everything Like readme.txt says but got the same - no provider icons :/
Readme says to check modules unziped files but they are ok...
After reading above replies I dont really understand how to repair it...
Reinstallation does not make sense for me - just installed it properly so what resintallation could do?
Any ideas?
ps
I dont use LoginToboggan module
Comment #16
wastrilith2k CreditAttribution: wastrilith2k commentedAre you using a reset.css?
Comment #17
konrad1811 CreditAttribution: konrad1811 commentedWell I dont know if I'm using "reset.css".
Is there a problem with css documented in some manual with I missed?
I use SiImpleFolio theme...
However can you tell me where can I found those isons? I counld find the directory with such...
Comment #18
andriy_gerasika CreditAttribution: andriy_gerasika commentedno longer valid, since you are already using loginza module
Comment #19
andriy_gerasika CreditAttribution: andriy_gerasika commentedComment #20
cj-a-min CreditAttribution: cj-a-min commentedSame issue, but it "only" happens on the login page /user
Page Source:
I only have essential modules installed, admin_menu, cck, computed_field, filefield, filefield_paths, imageapi, imagecache, imagefield, libraries, link, location, module_filter, openid_selector, pathauto, taxonomy_manager, and token.
Does the dev release fix this problem?
Comment #21
xurizaemonNo update in >1yr, closing for lack of activity.