Module: avoid theme templates in popup window?

Hi -

I want to use popup windows in a module I'm writing, but how do I avoid having the whole postnuke theme appearing in my popup windows?
I guess I in some way want to specify another base themplate for those pages, meaning ignoring the selected theme - is that possible?

Thanks in advance!

Best regards, Jonas
Jonas,

Assuming your writing the module for PN .760 or higher then it's easy. See the non themed output entry in our tips and tricks Wiki section.

-Mark

(note: thread moved to the development forums)

--
Visit My homepage and Zikula themes.
Thanks a lot Mark!

Is there a way to specify another base template instead? It could be really convenient to be able to specify a "theme" template for these pages, maybe just on module basis, to take care of , , stylesheets, etc. If not, I'll just include a header and footer, of course.

Thanks!
A page template can be specified by the site admin using either xanthia or AutoTheme but there isn't anything you can set as the module developer.

However bear in mind that any module template can be overriden in a theme to provide a custom look and feel for that theme only. So if you return true from the module your module based template will be used but this can then be duplicated into the theme and customised if desired.

-Mark

--
Visit My homepage and Zikula themes.