Hi all!

I have [a weird, but mandatory] theme which render fieldsets to DIVs. As result, a javascript code, relying on FIELDSET elements stops working. Is it possible to "exclude" a theme processing for specific conditions?

To illustrate what I'm talking about:

* TAO theme from Open Atrium project makes DIVs from fieldsets.
* IMCE popup expects FIELDSETs from which it creates tabs like Thumbnails, Resize, Delete etc
* No fieldsets - no tabs.

Just... how to skip all custom themes, or a theme? How to exclude it from processing?

Comments

medenfield’s picture

For something like this, I'd probably write an if else statement at the top of my page.tpl.php and match arguments, specific nodes or content types to write (or not write) theme elements around the content.