(Drupal 5.7, PHP 5.2.4, MySQL 5.0.45)
I really hate to say anything against such a fantastic module, but I've stumbled across a strange IE problem. I need to display exactly nineteen individual tables on a page but the nineteenth causes IE, I think, to ignore my theme (background colors gone, fonts wrong, etc.). It can be nineteen different tables or nineteen of the same table, doesn't matter. Each table has 42 rows counting the header, except for table #19 which has seventeen rows.
Thinking maybe I hit some sort of cap on maximum number of stylesheets in IE, I removed one stylesheet import line but this did not fix the problem.
I also noticed that TableManager loads its own CSS redundantly, when it is invoked more than once ion a page. This seems inefficient to me, although I don't actually know if it's a real problem.
My only workaround is to consolidate some of these tables, but that will take some time and also violates other design and data organization rules on the site in question.
Comments
Comment #1
pobster commentedI'm afraid I have literally NO idea, perhaps try changing this function right at the bottom of tablemanager.module;
To;
It'll still be called for every table (so still inefficient) but looking at the code on api.drupal.org it builds it as an array - so perhaps it'll see that it's already set and just apply the stylesheet the once? Not sure... Not really something I know anything about I'm afraid.
Pobster
PS. Thanks for your positive comments btw, hopefully you'll like tablemanager v2 even more! ;o)
Comment #2
silurius commentedWow, that corrected the problem and reminded me that you happen to be one of the more responsive developers on this site. You just saved me a ton of work. Thank you very, very much.
Comment #3
pobster commentedNo problem! Glad it worked!
Pobster
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.