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
- jmvaughn responded to »error when i try to upgrade to the last version of dizkus module (3.1)« 12:05 PM
- localrags responded to »Remove contents of nuke_sc_anticracker from Database« 11:30 AM
- jmvaughn created topic »TagIt 3.0 for Zikula« 09:34 AM
- jmvaughn responded to »Shoutit for zikula 1.3?« 09:31 AM
- mdee responded to »Different page content under one template (tpl file) based on URL« 07:17 AM
- espaan responded to »Categories disappear when editing ...« 08. Feb
- eledril responded to »How decrease zikula cpu usage« 08. Feb
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Module: avoid theme templates in popup window?
-
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
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. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 11
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: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
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
