- craigh responded to »TagIt 3.0 for Zikula« 03:58 PM
- 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 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
Different layout for different module
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Feb 16, 2008
- Posts: 5
Hey all, I have a site running on postnuke .8RC2 with three column layout. For some modules I want to use two column layout. Is there an easy way to do that? For example in customized News template put some line saying to use different stylesheet or something like that. -
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6840
Each module can have a custom template, if your theme doesn't have a 2 col layout as part of it, then make a new template and assign it for the modules you want that layout. If I'm not mistaken, with .8 you can even customize it down to different layouts per function even.
--
Home Page | Find on Facebook | Follow on Twitter
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Feb 16, 2008
- Posts: 5
Thank you very much for your answer. My theme already has two CSS stylesheets - one of them is for two column version and the other one is for the three column version. However I just don't know how (and where) to assign it to each module. If there is any documentation for this just point me there, but I couldn't find it. Thanks again -
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6840
You need to consult your theme as to how to do that. Odds are if they put in two style sheets, they provide a 2 col template, you just have to configure what template to use for what module in the settings for the theme.
--
Home Page | Find on Facebook | Follow on Twitter
-
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1401
Hi,
in pageconfigurations.ini (config subdir) you can add different templates
check for example the SeaBreeze theme:
Code
And in htmlpages.ini in SeaBreeze, here you can set the htm template file belonging to the module you want to override:
Code
page = NoRightColumn.htm
palette = SeaBreeze
[blocktypes]
[blockpositions]
left = lsblock.htm
right = rsblock.htm
center = ccblock.htm
[blockinstances]
--
campertoday.nl, Module development, Dutch Zikula Community -
- Rank: Team Member
- Registered: Dec 07, 2003
- Last visit: May 09, 2010
- Posts: 2703
I split this topic, the thread was hijacked a bit.. and the other half can be found here: http://community.postnuke.com/module-Forum-viewtopic-topic-54003-start-0.htm#pid233671
--
David Pahl
Zikula Support Team
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
