I know it can be done and I am sure somewhere the Kevin Hatch books states how to do it, but I can not find it.
I just installed PNphpBB2 and when I click the link from the home page it is placed in the centre. But I want the forum to take up the whole page and need the side blocks (left and right) to disspear to allow the forum to take up the full page. So how do I make the forums take up the whole page and dump the side blocks (left and right)? Thanks
Login
Donate to Zikula
Support
::
Making left and right blocks dissapear when I go into forum?
-
-
bump....
I need to keep the menu bar at the top but loose the side blocks so that forum takes up full width. -
First, what type of theme are you using. If it's an Xanthia or AutoTheme you can do it by making a specific template for the module you don't want side blocks on.
I always make an admin template for my themes without side blocks. Check out the standard themes that come with PostNuke and you'll see some of theme have an admin template. Thats beeter than just disabling the side blocks because some theme have fixed width areas for the side blocks and they just stay there with out anything in them. You also do the same with AutoTheme.
If you are using an old legacy theme you'll have conciderably more trouble but it can still be done. -
I am using a legacy them converted via xconvert to xanthia.
Quote
you can do it by making a specific template for the module you don't want side blocks on.
And how do I tell the module how to load the template (I have no ideas about these things, just building my first PN site now).
Also I would have thought you could tell the module not to load any template and just display the forums as if PN did not exist, and then I would have copied the top navigation in PN into the overall_header file of phpbb. -
-
If you study the PostNukeBlue theme that comes with PostNuke you see a bunch of page templates in the templates/modules folder. There is admin, home, nocolumns, noleftcolumns, and norightcolumns. You do have to have a template but it only needs to have the tag in it to load the main content, see the nocolumns template. What you need to do is take theidea and apply it to the module you want to work on
You'll find plenty of info about how to assign the templates to module by searching these forums. Also see this thread:
What you needhttp://forums.postnu…e=viewtopic&t=40378 for info about setting up your xaninit.php -
Thanks. But BTW my PostNuke-0.750\HTML\themes\SeaBreeze\templates\modules contains index and home.html only.
-
Yes, I know. What I'm trying to say is that you have to add the module templates you need to that folder. Just follow the way PostNukeBlue is setup.
-
can't you just use the maximise function of PNphpBB?
--
Regards,
Simon
itbegins.co.uk - Zikula Consulting
Please read the Support Guide
