Active
Project:
Popups API (Ajax Dialogs) [D7]
Version:
6.x-1.3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2010 at 22:54 UTC
Updated:
19 Sep 2011 at 03:29 UTC
If your using the Popups Module and have 'Scan all pages for popup links.' checked, it forces the admin block configuration page to use the admin theme.
Per the discussion here:
http://drupal.org/node/281643
You'll see many people are reporting this as well.
So everytime I need to configure my blocks i have to turn off the Popup's 'scan' setting...
Comments
Comment #1
Josephnewyork commentedOK, basically this happens when calling theme() too early. This has a work around, if we were to get the tpl contents the same way theme() does, but removing the middle-man. ;)
Replace the theme() function (popups.module:243) with theme_render_template() function and we have a work around...
This way you can use the 'Scan all pages for popup links.' checked without messing your block config theme.
Its a work-around but at least it works.
Comment #2
pbeski commentedThanks Joe Weitzel,
This is working for me.
Is there any execution time difference between these two functions (theme() and theme_render_template())? How to check this?
Comment #3
Josephnewyork commentedNo, I virtually sequential.