Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Third Party Theme Sometimes Places Footer in Center Column
  • Posted: 13.08.2007, 22:07
     
    DMullich
    rank:
    Freshman Freshman
    registered:
     July 2007
    Status:
    offline
    last visit:
    25.08.08
    Posts:
    32
    I am using a third party theme called GoFlexible that sometimes places the footer in the center column, rather than at the bottom of the web page.

    My home page points to a blank module and the block arrangement looks like this when users are not logged in:

    Code

    |---------------------------------------------------|
    |                     header                        |
    |---------------------------------------------------|
    |                     Nav Bar                       |
    |---------------------------------------------------|
    |           |                     |                 |
    | Main Menu |     HTML BLOCK      |   Login Block   |
    |           |                     |                 |
    |           |     Quote Block     |   HTML Block    |
    |           |                     |                 |
    |---------------------------------------------------|
    |                     Footer                        |
    |---------------------------------------------------|


    When users login, I change block permissions so that different blocks are displayed. However, the footer moves to the center column:

    Code

    |---------------------------------------------------|
    |                     header                        |
    |---------------------------------------------------|
    |                     Nav Bar                       |
    |---------------------------------------------------|
    |           |                     |                 |
    | Main Menu |     HTML BLOCK      |   Menu Block    |
    |           |                     |                 |
    |           |     News Block      |   Poll Block    |
    |           |                     |                 |
    |           |     HTML BLOCK      |                 |  
    |           |---------------------------------------|
    |           |                  Footer               |
    |---------------------------------------------------|


    That HTML block just displays text within a table, and the code looks fine to me, so I don't think that's a problem, because the problem also appears when I go to other modules.

    When I point to almost every core and third-party module I have installed, the block arrangment looks like this:

    Code

    |---------------------------------------------------|
    |                     header                        |
    |---------------------------------------------------|
    |                     Nav Bar                       |
    |---------------------------------------------------|
    |           |                                       |
    | Main Menu |           Module                      |
    |           |                                       |
    |---------------------------------------------------|
    |                     Footer                        |
    |---------------------------------------------------|


    However, with one -- vpContact -- it looks like this:

    Code

    |---------------------------------------------------|
    |                     header                        |
    |---------------------------------------------------|
    |                     Nav Bar                       |
    |---------------------------------------------------|
    |           |                                       |
    | Main Menu |           vpContact                   |
    |           |                                       |
    |           |---------------------------------------|
    |           |                Footer                 |
    |---------------------------------------------------|


    I tried using other third-party themes and the problem does not occur.

    What might I try changing in the GoFlexible theme to discover the cause of this problem and fix it?



    edited by: DMullich, Aug 13, 2007 - 05:09 PM
  • Posted: 13.08.2007, 23:08
     
    slam
    rank:
    Helper Helper
    registered:
     May 2004
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    237
    As the former maintainer of the vpContact module who has abandoned it I strongly suggest you to switch to Formicula, which is much more advanced and under ongoing development and security patching.
    Greetings,
    Chris

    --
    development is life. code.zikula.org
    an operating system must operate. sidux.com
  • Posted: 15.08.2007, 00:00
     
    DMullich
    rank:
    Freshman Freshman
    registered:
     July 2007
    Status:
    offline
    last visit:
    25.08.08
    Posts:
    32
    I'll certainly look at Formicula - although I need to solve my more general problem of why the footer sometimes appears in the center column.

    If this provides any clue, here's the body of the master template.

    Code

    <body>
    <div id="wrap">

        <!-- header -->
          <!-- Background -->
        <div id="header-section">
              <a href="#"><img id="header-background-left" src="<!--[$imagepath]-->/img_logo.jpg" alt=""/></a>
          <img id="header-background-right" src="<!--[$imagepath]-->/img_header.jpg" alt=""/>
            </div>

          <!-- Navigation -->
        <div id="header">
          <ul>
            <li><a href="index.php">Home</a></li>
            <li><a href="index.php?name=CmodsDownload">Download</a></li>
            <li><a href="index.php?name=CmodsWebLinks">Weblinks</a></li>
            <li class="selected"><a href="index.php?name=pnForum">Forum</a></li>
            <li><a href="index.php">Kontakt</a></li>  
            <li><a href="index.php">Registrierung</a></li>
          </ul>
        </div>

          <!-- LEFT COLUMN -->
          <!-- Navigation -->
        <div id="left-column">
         <!--[$leftblocks]-->
    </div>
       

          <!-- MIDDLE COLUMN -->
        <div id="middle-column1">
            
             <!--[$maincontent]-->
            </div>

          <!-- FOOTER -->
        <div id="footer">
        <!--[footmsg]--><br />
           Copyright &copy; 2006 <a href="http://www.cmods-dev.de">Cmods-dev</a> | All Rights Reserved | Design by <a href="mailto:gw@actamail.com">Gerhard Erbes</a>
        </div>
    </div>
    </body>
  • Posted: 15.08.2007, 01:22
     
    AmmoDump
    rank:
    Professional Professional
    registered:
     December 2003
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    2975
    Use FireBug (Firefox Addon) to inspect elements.

    I would guess you have same name Divs or Clear div issues.

    Good Luck.

    --
    David Pahl
    Zikula Support Team

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula