PDA


View Full Version : New Columns And Boxes?


kgw
05-23-2007, 04:46 PM
Brian, First off, Awesome job on the 3.0 revamp. I am impressed. However (as is always the case).

The new 3.0 killed my tables. I know you have said this can be easily done with the new one and I have read through the posts, Is there a way you can do step by step instructions?

Brian
05-24-2007, 12:54 PM
What tables exactly are you referring to?

kgw
05-24-2007, 11:38 PM
I had 4 columns going on VBA 2.0. My Middle Two, I split recent threads to look like this.
http://i125.photobucket.com/albums/p50/kindagreywolf/sheesh.jpg
And I was still able to keep the other two colums. But under the two middle columns, I had it set back up so the block took the whole width of the center table. Using Tables.
I hope this explains it

|--|--|--|--| 4 blocks
|--|-----|--| 3 Blocks

3.0 Buggered that up somehow. If I read 3.0 correctly you made it so it does the alternating colomns, and that is what I do not understand.

Brian
05-25-2007, 12:48 PM
Admin CP => vBa CMPS => Default Settings => Main Options => Location List

Just go there and read through the description for that setting.

kgw
05-25-2007, 01:57 PM
I see what you did, You Broke it! I didn't realize it was THAT simple! What I did at the bottom was take
<if condition="$show['right_column']">
<td valign="top" width="$vba_style[portal_rightcolwidth]"<if condition="$show['center_column'] OR $show['left_column']"> style="padding-left: $vba_style[portal_colspacing]px"</if>>
$home[rightblocks]
</td>
</if>
</tr>
</table>

$footer

</body>
</html>

And replaced it with
<if condition="$show['right_column']">
<td valign="top" width="$vba_style[portal_rightcolwidth]"<if condition="$show['center_column'] OR $show['left_column']"> style="padding-left: $vba_style[portal_colspacing]px"</if>>
$home[rightblocks]
</td>
</if>
</tr>
<tr>
<td colspan="2" valign="top">$home[bottomblocks]
</td></tr>
</table>
$footer

</body>
</html>

This is WAY much easier than the Old VBA 2 and that is what was confusing the heck out of me. Granted, that is just the Basic Code to get it to do what I want. I can see VBA kicking off greatly now do to your creativity to let people get things done. I can also see some interesting pages forthcoming also.

Thanks!