Right now I have 2 center top blocks on my site. However that takes up too much vertical room. Is there a way to have the 2 top blocks be side by side? I'm pretty sure I have seen this on a PHPnuke site before
FluidG Guest
Posted:
Tue Jul 26, 2005 3:38 am
I found this code, but it doesnt work. Makes all the blocks except left side disappear:
Code:
function themecenterbox($title, $content) {
global $db, $row, $pos;
$sql = "SELECT bposition FROM nuke_blocks WHERE title='$title'";
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$pos = $row['bposition'];
// c has highest priority (center left block)
if ( $pos == "c" )
{
hpOpenTable();
echo "<span class=\"textBlockText\">$title</span><br>"
."$content";
// d has lowest priority (center right block)
}else{
hpNewColumn();
echo "<span class=\"textBlockText\">$title</span><br>"
."$content";
hpCloseTable();
}
}
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum