Fork me on GitHub

Watch

GitHub Core

Show your support for Zikula! Sign up at Github account and watch the Core project!




GitHub Modules

Forum Activity

Forum feed

» Visit forum | » View latest posts

Side blocks taking up space.  Bottom

  • Hey guys,

    I'm currently using b-orange theme on postnuke .723

    The problem I'm having is that when I set it to show no right blocks the column where the right blocks usually are still occupies space on the page preventing the module being showed from stretching across the page.

    Code

    <td rowspan="2" width="141" bgcolor="#FFFFFF" background="<!-- [image-path] -->RC-bg.gif">
                     
    <table width="100%" border="0" cellspacing="1" cellpadding="1">
                       
    <tr>                 
    <td>                   
    <!-- [right-blocks] -->
    </td>
    </tr>
    </table>
    </td>


    Is the code that sets it... how should I change it?
  • might be an idea to ask this on the auto theme site - i believe is an auto theme command?

    --
    itbegins.co.uk - Zikula Consulting

    birtwistle.me.uk - Personal Blog


    Please read the Support Guide
  • Yep but I don't think the problem is connected to autothemes........

    I think its just the way the HTML is doing the tables.

    But I'll give it a shot there anyway, thanks for the suggestion.
  • problem solved.....

    just took a lot of fiddling with the HTML.
  • Dereklande: How did you fix it!

    I have exactly the same problem...
  • Haven't looked at b-orange yet, but from my fixed version of i-geom (from the same site) in theme.html:

    Code

    <TR>
        <TD id="LeftCol" width="180" height="19" valign="top" bgcolor="#EEEEEE">
        <!-- [left-blocks] -->
        </TD>
        <TD id="CenterCol" valign="top" align="left"<?php if ($block_display['right']==false)  echo " colspan=\"2\""; ?>>
       <DIV id="CenterBlocks">
        <!-- [center-blocks] -->
       
        <!-- [modules] --></DIV>
        </TD>
        <?php if ($index == 1 || $block_display["right"]) { ?>
        <TD id="RightCol" width="180" valign="top" bgcolor="#EEEEEE">
        <!-- [right-blocks] -->
        </TD>
        <?php } // End right blocks ?>
      </TR>

    Same principle for b-orange.

    Martin :D
  • Is it b-orange you are using? If it is I can send you the file.

    In the end I basically hacked the right column out of it all together and used that as my normal theme.html and then set the news module as a custom module with the hacked version.
  • I assume you refer to Trd79, but just in case ...

    I've downloaded b-orange, just haven't had time to examine it yet. Initial test on PN indicate it needs some tweaking anyway, including issues with AutoTheme commands so only the main page shows Admin messages. I fixed i-geom from the same site (http://postnuke.alansparkes.net/) previously, the same fixes to the one theme.html file should work. In AutoTheme, you can have different templates I know, but might as well fix up the original to allow the right side to go when not wanted.
    I'll have to install PNphpBB2 and see if I can reproduce the other problem. Haven't read the other posts on PNphpBB2, so don't know if there's any known issues.

    Martin :D
  • If you can help me out on this you will be a god!
  • 0 users

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