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
- pborchelt answered »HowtoPNForms module unable to find template« 03:52h
- Teb answered »MenuTree Mystery« 05. Jul
- dks answered »include a file« 05. Jul
- dks answered ».764 -> 1.1.1, Can't add new blocks« 05. Jul
- craigh posted »PostCalendar 5.5.0RC1 needs testers and translators« 05. Jul
- bartl answered »Upgrading 1.0.2 --> 1.1.1« 05. Jul
- Charlie-otb answered »SafeHTML output filter and youtube« 05. Jul
Login
Module: avoid theme templates in popup window?
-
- Rank: Freshman
- Registered: 07.03.06
- last visit: 18.08.06
- Posts: 14
-
- Rank: Moderator
- Registered: 19.03.02
- last visit: 27.06.09
- Posts: 7661
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. -
- Rank: Freshman
- Registered: 07.03.06
- last visit: 18.08.06
- Posts: 14
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! -
- Rank: Moderator
- Registered: 19.03.02
- last visit: 27.06.09
- Posts: 7661
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.
- Moderated by :
- Support
Users online
This list is based on the users active over the last 60 minutes.
