Willkommen im Free Web CMS : eXV² Forum! |
|
Forum : ThemesTitel : Zu Tutorial - rechte Blöcke im Modul xxx anzeigen© 2004-2012 www.exv2.de http://www.exv2.de
URL dieser Diskussion
http://www.exv2.de/modules/newbb_plus/viewtopic.php?topic_id=2106&forum=14
|
Dj_PD :
| 11.01.2005 11:46 |
Hallo,
ich habe mal eine Frage bezüglich rechte Blöcke im Modul xxx anzeigen. und zwar habe ich in meinen footer folgendes stehen: Code: function themefooter($show_rblock=0, $footer='') { ?> <!-- HTML CODE --> <br /></td> <?php if ($show_rblock) { ?> <td id="rightblocks" name="rightblocks" align="right" valign="top" class="sidebar2"> <?php make_sidebar("right");?> </td> <?php } else { echo "<td width='1' id='rightblocks' style='display:none;'>&nbsp;</td>"; } ?>
</tr><tr>
<td background="<?php echo XOOPS_URL."/themes/".XOOPS_THEME;?>/images/back.gif" colspan="3" class="footer"><?php echo $footer;?></td> </tr></table> </td></tr></table> <table width="770"align="center"><tr><td width="770" height="12" align="center"><a href="http://www.security-lab.org" target="blank"><font face="verdana" color="#AEBBD2" size="1">Design by Ac3</font></a></td></tr></table>
Ich weiß ja das in dem Tutorial steht das ich folgenden Code einbauen muss: Code: if ($xoopsOption['show_rblock'] == 1){make_sidebar("right");}
Meine Frage ist: " Ist das egal wo ich den hinsetze oder gibt es da eine bestimmte Zeile wo der Code stehen muss?"
Dachte für Eure antworten. Gruss Dj_PD |
|
|
bama :
| 11.01.2005 13:11 |
die Zeile: Code:<?php if ($show_rblock) { ?>
ersetzt du mit:
Code:<?php if ($xoopsOption['show_rblock'] == 1){ ?>
sollte dann funktionieren |
|
|
|
|
|