[pmwiki-users] blog-it with triad

Hans design5 at softflow.co.uk
Tue May 11 10:58:25 CDT 2010


Tuesday, May 11, 2010, 2:28:29 PM, Peter Bowers wrote:

> I find that the left sidebar keeps getting "squished".

I see now that it is a bug in Triad.
In skin.php the style for #left-box and #right-box get
width attributes. These are the ids of the left and right table cell
of the main layout (Triad's layout is table based).
Somehow this is not enough.
If we set the width for #sidebar and #rightbar it works much better.
So it needs in skin.php instead of the #left-box and #right-box

# sidebar and rightbar width
global $HTMLStylesFmt;
$HTMLStylesFmt[] = "
  #sidebar { width: $LeftWidth; }  
  #rightbar { width: $RightWidth; }\n";

You can do that in config as well.

I fix that for the next skin update.

  ~Hans




More information about the pmwiki-users mailing list