In Facebook the drupal logo is shown, when somebody clicks on a Like-button on my drupal site. I uploaded a logo to my site, but the module seems to ignore it. How can I change the logo shown in Facebook?
Thanks for help. And for this very simple and efficient module!
Michael
Comments
Comment #1
jerdiggity commentedFor that, you'd probably be best off manually changing your theme's page.tpl.php file... Ultimately you want it to go from this:
To this:
(And actually I don't think the second "xmlns" entry --
xmlns:fb="http://www.facebook.com/2008/fbml"-- is necessary, but that's how I set mine up...)Hope that helps...
Comment #2
lavisrap commentedThanks a lot!!
Works fine.
xmlns:fb="http://www.facebook.com/2008/fbml" was already in the file.
Michael
Comment #3
jerdiggity commentedGood stuff. You're welcome!
:)
j
Comment #4
rizzo commentedI'm using a zen subtheme, trying to get this to work. I've edited both zen/page.tpl.php and templates/page.tpl.php to look like this:
But it still posts the drupal logo. Any thoughts?
Comment #5
rizzo commentedActually it seems like it is working now.
Comment #6
jerdiggity commentedYeah sometimes the caches have to be cleared, cron and/or update.php has to run, etc., before Drupal will recognize the changes made. Also simply visiting
yoursite.com/admin/build/themes/settings/your_themewill (I think) rebuild the theme registry, re-scanning the theme's files for any changes your site doesn't yet know about. Either way, glad it worked.I should also note that
xmlns:og="http://opengraphprotocol.org/schema/"can be replaced withxmlns:og="http://ogp.me/ns#", and in some cases it appears as though that's the preferred method of doing it (don't quote me on that one though).j