Why is the petition/create page put in an iframe? is there a way to override that?

Comments

jday’s picture

The iframe width is being set to 687px here: wh_petitions.pages.inc line 1081

This is a call back for the path 'petition/email/%' (see the hook_menu in wh_petitions.module, line 312).

Looks like all the iframes may be HTML returned directly to page call backs in wh_petitions. To make these overridable, there needs to be a theme function in the middle. Page callbacks should be calling theme functions, and the theme functions should be overridable by the user.

jday’s picture

Also when deleting a petition from step #4 brings up a list of previous petition created by the user and the entire header is duplicated in the iframe.