How would I go about removing the left block from Voodoodolly theme? I just want to use the centre and right hand blocks. Essentially changing it to a 2 column theme.
Thanks for any info.
- mercromina responded to »error when i try to upgrade to the last version of dizkus module (3.1)« 08:01 PM
- craigh responded to »TagIt 3.0 for Zikula« 03:58 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
Voodoodolly theme and removing left block (Zikula 1.1.1)
-
- Rank: Softmore
- Registered: Dec 10, 2003
- Last visit: May 12, 2010
- Posts: 286
-
- Rank: Developer
- Registered: Jun 16, 2003
- Posts: 1915
1. duplicate master.htm and call it home.htm
2. edit home.htm to eliminate the left column (the whole div)
3. edit the style.css to adjust the width of the center div (you may have to create a new name for the id or class)
4. add a config.ini file for the home template
5. edit pageconfiguration.ini to include the home template/ini
I think that's it (off the top of my head). of course, I haven't tested this recently. -
- Rank: Softmore
- Registered: Dec 10, 2003
- Last visit: May 12, 2010
- Posts: 286
-
- Rank: Freshman
- Registered: Sep 11, 2008
- Last visit: Feb 05, 2010
- Posts: 63
Wonderful!
I did the opposite (modified master.htm to have only two columns, and home.htm left as is, to have the right column available in homepage...
Now I'd like to push the limit a bit further...
As indicated, I altered the .center_column margin parameters to fit the new page width... and having modified master.htm I lost my right column on ALL the non-homepage pages.
What should I do to have some pages only with this configuration, and other (non-homepage) with different layout?
e.g. in case i wanted in some pages no right column (mod master.htm) but still the text with a different right margin should I create new classes in the style.css and modify the template accordingly?
Things can get complicated over time... how do you track all these mods in your websites?
thank you in advance
Zikula is fun!
Enrico -
- Rank: Developer
- Registered: Jun 16, 2003
- Posts: 1915
well, you can create a different l…out for each module
the template engine is quite powerful and yet difficult to explain and configure. It could be more well documented for sure.
Quote
Things can get complicated over time... how do you track all these mods in your websites?
1. put all changes in either your theme or /config
2. use SVN -
- Rank: Freshman
- Registered: Sep 11, 2008
- Last visit: Feb 05, 2010
- Posts: 63
thank you for answering...
craigh
well, you can create a different l…out for each module
.. but what if I wanted two different layout for e.g. two different pages of the same module?
I mean:
I use Pages to display various stuff over the website, and I'd like to have some pages (just giving an example) looking like a blog, with one, or two or three columns ( and no menu), depending on the content type (should I consider exploring "Categories"?)
The next step would be using this concept for the news module.. unique module, but different layout depending on content type.
Again, as an example: a plain text article, or a multi-chapter article with a small different menu, or an article+photo with particular displacement of the images, etc.. etc...
Same module, multiple templates... selected how?
(if possible of course)
thank you so much for helping... -
- Rank: Developer
- Registered: Jun 16, 2003
- Posts: 1915
yes, it is possible. can't remember who really knows this around here (I don't). maybe mateo? you can use the INI files to assign templates based on function and arguments. just don't know how. the technique is used a little in this article ( which, ironically, I wrote, but don't truly understand the techniques). sorry I can't help more. -
- Rank: Softmore
- Registered: Jan 22, 2008
- Last visit: Apr 04, 2010
- Posts: 130
Take a look at the BlankTheme project especially this page http://www.blankthem…EnginePagetemplates
--
David
- Moderated by:
- Support
