Menu

Right Block table width

Help
2002-06-07
2002-06-12
  • Verdon Vaillancourt

    Hi :)

    A relative newbie here... I am building a theme using the default theme as a start. I haven't done anything too extravagent, but have noticed that the value for the block width ($block_percent) is not being picked up for any modules docked to the right. When I view source I see:
    <td class="type3" valign="top" width="%"><!-- Entering themepollbox -->

    Any suggestions where I might look?

    Ps. I'm using v8.2

     
    • Verdon Vaillancourt

      Sorry I now realize I posted this thread in the wrong forum and there doesn't seem to be any way to delete it.

      I feel like such a dummy!!

       
    • James Smith

      James Smith - 2002-06-10

      hmm, do you have Calendar running on the right block with the month tables showing?

      I had a problem myself on the left block when calendar was activated with the month view activated I could not decrease the percentage. However, I get the impression the right block only gets bigger in proportion to its widest contents, Is it increasing slightly as you increase the percentage or the contents?

      I am not a coder, but I will look into this myself..

      regards

      JamesMac

       
    • Verdon Vaillancourt

      I did find the fix for this and posted it on the themes forum (I think). I wish all these forums were in one place :(

      It was something like this

      added:
          $res = mysql_query("select block_percent from ".$table_prefix."flags");
          list($block_percent) = mysql_fetch_row($res);
      above:
          $col_begin = "</td><td class=\&quot;type3\&quot; valign=\&quot;top\&quot; width=\&quot;$block_percent%\&quot;>";
      in:
          footer.php (to look up $block_percent and fix block width problem)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.