Hallo!
Am besten ich fange mal an zu erklären was ich machen will, da
ich nicht genau weiß wie ich die Frage stellen soll.
Mein System ist das vkpmx2.1.
Mein Problem ist, ich will das die rechten Blöcke grafisch
anders aussehen als die linken Blöcke und möchte nicht jeden Blöck
bearbeiten sondern dies über die Theme.php machen , wenn das geht.
In der theme.php steht nun folgender Code:
function themesidebox($title, $content, $block=array()) {
global $thename, $tmcol;
#mxdebugfuncvars($block);
#print $block['order'];
if ($block['position']=="l") {
$tdwidth = $tmcol[2];
}
else {
$tdwidth = $tmcol[6];
}
echo "<table width='123' border='0' cellspacing='0' cellpadding='0' align='center' background='themes/$thename/images/blocks/block-bg.gif'><tr><td>\n";
if ((!empty($block['order']) || !empty($tmcol[8]))) {
#if (!empty($title)) echo "<div class='boxtitle' style='width: ".$tdwidth."px; height: 20px; padding-left: 5px; padding-top: 5px;'><b>".$title."</b></div>\n";
}
echo "<img src='themes/vollton/images/blocks/block-oben-links.gif'>\n";
echo "<div class='boxcontent' style='width: ".$tdwidth."px; overflow: hidden; padding: 5px; padding-bottom: 0px;'>\n".$content."\n";
#echo "<div class='boxcontent' style='width: ".$tdwidth."px; padding-top: 0px; padding-bottom: 7px;'>\n".$content."\n</div>\n";
echo "</div>\n";
echo "</td></tr></table>";
echo "<img src='themes/vollton/images/blocks/block-unten.gif'>\n";
}
Bei diesem Code sehen die beiden Blöcke gleich aus.
Wie & wo kann ich das einstellen das es eine Funktion Blöcke links
und eine Funktion Blöcke Rechts gibt?
Danke für Hilfe! mfG°