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
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.

AttachmentSize
Stocklholm-Theme-Blocks-with-InsertFrame-enabled.jpg246.15 KB
Stockholm-Theme-Blocks-InsertFrame-disabled.jpg123.48 KB

#1

MarcElbichon - May 28, 2009 - 08:01

Could you send me the source code of the page (shown in browser) for both ?

#2

MarcElbichon - May 28, 2009 - 11:47

Could you replace in insertFrame.module

<?php
function insertFrame_init() {
   
drupal_add_js(drupal_get_path('module', 'insertFrame') . '/insertFrame.js');
   
theme('insertFrame_init');
}
?>

by

<?php
function insertFrame_init() {
   
drupal_add_js(drupal_get_path('module', 'insertFrame') . '/insertFrame.js');
    if (
arg(0) != "admin") {
       
theme('insertFrame_init');
    }
}
?>

#3

MarcElbichon - June 4, 2009 - 10:09
Assigned to:Anonymous» MarcElbichon
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.