Hi markus,

I've discovered that modalframe colides with my theme if I've definied a page-admin.tpl.php file. Is there any simple way to solve it? One way is not having such template on my theme :-) but is there another way to solve it if I would have a strong reason to keep a diferent page-admin.tpl.php ??

Thanks!

CommentFileSizeAuthor
#1 modalframe-744122-1.patch617 bytesmarkus_petrux
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

markus_petrux’s picture

Status: Active » Needs review
FileSize
617 bytes

Hi and sorry for the delay.

I think this issue could be fixed by altering the order in which the template suggestion for modalframe page is added during template preprocess function. I'm adding the suggestion at the top of the array, while it should be added last because in fact, this array is scanned in reversed order by theme().

Patch attached.

markus_petrux’s picture

Title: Colides with page-admin.tpl.php » Colides with page-admin.tpl.php and other page.tpl.php variants
Status: Needs review » Fixed

Commited to CVS. Thanks for the report!

http://drupal.org/cvs?commit=358410

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.