InsertFrame wiped out the theme based "Blocks" page for my TopNotch Stockholm theme.
RickA99 - May 27, 2009 - 11:38
| Project: | insertFrame |
| Version: | 6.x-1.8 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | MarcElbichon |
| Status: | closed |
Jump to:
Description
See attached images. My custom theme "Blocks" page is replaced by the admin theme Blocks page and the placement location of my "Specials" block is gone. Note: the actual block still appears in the right place on the actual web pages.
| Attachment | Size |
|---|---|
| Stocklholm-Theme-Blocks-with-InsertFrame-enabled.jpg | 246.15 KB |
| Stockholm-Theme-Blocks-InsertFrame-disabled.jpg | 123.48 KB |

#1
Could you send me the source code of the page (shown in browser) for both ?
#2
Could you replace in insertFrame.module
<?phpfunction insertFrame_init() {
drupal_add_js(drupal_get_path('module', 'insertFrame') . '/insertFrame.js');
theme('insertFrame_init');
}
?>
by
<?phpfunction insertFrame_init() {
drupal_add_js(drupal_get_path('module', 'insertFrame') . '/insertFrame.js');
if (arg(0) != "admin") {
theme('insertFrame_init');
}
}
?>
#3