Closed (fixed)
Project:
Service links
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2012 at 19:37 UTC
Updated:
7 Jun 2013 at 11:10 UTC
Maybe I'm missing something and this is by design, but the Facebook Like Widget doesn't appear to have an class attribute. Other widgets (Twitter, for example) do, otherwise I wouldn't complain.
Additionally, it may be nice to be able to shut off/modify the default value of the style attribute. If that were set up, it would get around the aforementioned Facebook Like Widget issue.
Otherwise, I think you're doing a fantastic job with this module!
Comments
Comment #1
TheCrow commentedI don't know if the Facebook like script from FB server will erase unwanted attributes but i can try to add dynamically the class in the iframe...
The FB style can be changed under the widget tab in Admin > Config > Service Links
Comment #2
kyleoliveira commentedThanks for taking a look at it. I saw that you can select either the "Light" or the "Dark" color scheme for the Facebook Like Widget, those aren't really what I'm concerned about. I'm more interested in the fact that the widget has a style attribute added to the iframe automatically that can't be removed or easily overridden.
What would be really useful would be to be able to remove that and have a class name for the iframe. It wouldn't really affect the stuff in the iframe (which is set by Facebook anyway, it sounds like), but it would allow me to, for example, change the dimensions of the iframe so I'm not forced to have a huge gap on the right-hand side of the widget.
Comment #3
simon georges commentedComment #4
TheCrow commentedCommitted a patch, here some info: http://servicelinks.altervista.org/?q=about/troubleshooting