Closed (fixed)
Project:
Drupal for Facebook
Version:
7.x-3.x-dev
Component:
Page Tabs (iframe)
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2011 at 22:00 UTC
Updated:
30 Jan 2012 at 20:32 UTC
I have a theme set for the FB App Canvas and Tab, different from the default site theme. When viewing the Tab, I see the site theme, not the specified theme, and the view App option which shows the Canvas, shows the correct theme. Any ideas?
Comments
Comment #1
jack_tux commentedsubscribe...have same issue.
Comment #2
Störtebeker commentedCheck if you are logged-in on your Drupal site as Admin when visiting your Facebook Tab (logged-in on FB simultaneously). Log-out from your Drupal site and login again in FB and check the Tab again.
Generate Test accounts and visit your Tab pages / Apps with them. I had the same issue w/ the DFF 6 branch. Logged out from my Drupal site is always "better" when visiting my Tabs or app pages.
Even worse (still checking the details) when Drupal Admin is connected w/ your Facebook account. Strange side effects!
...G
Comment #3
Würden commentedI have the same issue, the theme i created with a 520px width works when used on the canvas page, but when used on a tab the default site theme is used instead although I told it to use the same theme as the canvas page in tab settings. (The tab is using an iFrame, not FBML)
Comment #4
Würden commentedI found a fix, add this code at the bottom of your fb_tab.module
This fix applies to Drupal 7, you cannot set the theme as the module tries to on line 121 to 123 in Drupal 7, it only works in Drupal 6, so you have to add this hook to get it working for Drupal 7.
Update:
If i click a menu link inside the tab the custom tab theme is once again ignored and uses the default.
Comment #5
Dave Cohen commentedThanks for that. Pushed the fix.
Comment #6
chrol commentedi too have an issue with the specific theme not showing.
Could it be related to i18n module using urls of form
http://www.site.com/sv as root when using Swedish language?
(and http://www.site.com/en for english?)
Clean URL's are working for plain drupal pages including i18n feature.
Comment #7
Dave Cohen commentedIt could be related. Try disabling i18n, and re-syncing properties for your facebook app. See if the theme then works.
Comment #9
vidra commentedsubscribe