I am using context as part of my feature.
I am trying to figure out a way to best be allerted if a user is viewing my site view a canvas page on facebook.
if there a variable set?
Thanks.
I am using context as part of my feature.
I am trying to figure out a way to best be allerted if a user is viewing my site view a canvas page on facebook.
if there a variable set?
Thanks.
Comments
Comment #1
Dave Cohen commentedWell, fb_canvas.module provides an option to change the theme on canvas pages. Use that if possible.
If you need to check in code, use fb_is_canvas().
Comment #2
socialnicheguru commentedSo would I have to use the block system or could I use context http://drupal.org/project/context to define a layout for a theme then have the app choose that theme?
does the FB app recognize the theme only or will it recognize the context.
I have a feeling that the FB app will only recognize the theme.
I would have to create a context that sense the theme and if it is a facebook app and delivers a particular reaction.