Active
Project:
Drupal for Facebook
Version:
6.x-3.0-rc16
Component:
Canvas Pages (iframe)
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2011 at 23:54 UTC
Updated:
14 Sep 2011 at 18:53 UTC
Is there a way to only show a couple of sections of your site on a canvas page.
Comments
Comment #1
drupal_crock commentedI guess the best way to try to work this is to specify a URL as a landing page then modify a custom page.tpl.php page to limit the sections (including navbar) that are available to the user?
Comment #2
Dave Cohen commentedsee http://drupal.org/node/923818 (screenshots are out of date but it is mostly correct). And also the README.txt.
You want an entire theme just for canvas pages. That way you can control which blocks, menus, etc appear.
And under the canvas page settings, you specify a different front page. You don't want to let modules/fb specify the landing URL. Don't edit it manually.
Comment #3
drupal_crock commentedThanks for getting back to me, Dave. I did see that link and I am able to get the canvas page to appear.
However, I am not sure about how to only show certain sections. Do I do this at the theme layer?
For example, I only want to show a page where users can submit ccktype1 (ccktype1 just used as an example cck form) and a section that shows a view of all ccktype1s that have been submitted.
Comment #3.0
drupal_crock commentedremoved unnecessary word