Active
Project:
- Petitions -
Version:
7.x-1.0-alpha32
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2013 at 18:26 UTC
Updated:
15 Mar 2013 at 22:37 UTC
Why is the petition/create page put in an iframe? is there a way to override that?
Comments
Comment #1
jday commentedThe 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.
Comment #2
jday commentedAlso 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.