Voodoodolly theme and removing left block (Zikula 1.1.1)  Bottom

  • 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.
  • 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.
  • Thanks for the tips. I'll give it a try.
  • 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
  • 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
  • thank you for answering...




    .. 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...
  • 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.
  • Take a look at the BlankTheme project especially this page http://www.blankthem…EnginePagetemplates

    --
    David

This list is based on users active over the last 60 minutes.