|
|||
|
Vielleicht bin ich zu d?mlich. Aber warum zeigt er mir das Banner denn zweimal an? http://b2b-shop.butschek-consult.de ganz unten habe ich versuchsweise ein Banner eingef?gt. Die Problematik mit der Gruppenbezeichnung habe ich dank dieses Forums ja gel?st bekommen. Voller Gl?ck, da? er das Banner nun endlich anzeigt bringt er es nun gleich zweimal?!
In welchen Dateien mu? ich hier denn schauen? in der index.html des Templates taucht es nicht auf. Gr??e, Holger |
|
|||
|
Folgend nun die index.html aus dem Template-Verzeichnis.
Gr??e, Holger {config_load file="$language/lang_$language.conf" section="index"} <div align="center"> <table width="940" class="background" cellspacing="4" cellpadding="0" style="border: 1px solid #000000"> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0" id="table1"> <tr> <td width="224"> [img]{$tpl_path}img/logo.jpg[/img]</td> <td>[img]{$tpl_path}img/bannermain.jpg[/img]</td> <td> </td> <td width="200" align="center"> <!--<table border="0" width="100" cellspacing="0" cellpadding="0" bgcolor="#F6F6F6" id="table4"> <tr> <td colspan="3" align="center"><font size="2">Styleswitcher</font></td> </tr> <tr> <td align="center" height="20"> [img]{$tpl_path}img/gruen.gif[/img]</td> <td align="center" height="20"> [img]{$tpl_path}img/blau.gif[/img]</td> <td align="center" height="20"> [img]{$tpl_path}img/rot.gif[/img]</td> </tr> </table>--> </td> </tr> <tr> <td height="5" class="streifen"></td> <td height="5" class="streifen"></td> <td height="5" class="streifen"></td> <td height="5" class="streifen"></td> </tr> </table> </td> </tr> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0" id="table2"> <tr> <td class="menu" height="20">{$navtrail}</td> <td class="menu" height="20"><div align="right">{if $account}{php} if (isset($_SESSION['customer_id'])) { {/php}{#link_logoff#} | {php} } {/php}{/if}{if $account}{#link_account#} | {/if}{#link_cart#} | {#link_checkout#}</div></td> </tr> </table> </td> </tr> <tr> <td height="5" class="streifen"></td> </tr> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0" id="table3"> <tr> <td valign="top">{$box_CATEGORIES} {$box_ADD_QUICKIE} {$box_CONTENT} {$box_INFORMATION} {$box_LAST_VIEWED}{$box_REVIEWS} {$box_SEARCH} {$box_SPECIALS} {$box_WHATSNEW}</td> <td valign="top" width="100%"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td class="main">{$main_content}</td> </tr> </table></td> <td valign="top">{$box_CART} {$box_LOGIN}{$box_ADMIN}{$box_NEWSLETTER} {$box_BESTSELLERS} {$box_INFOBOX} {$box_CURRENCIES} {$box_LANGUAGES} {$box_MANUFACTURERS_INFO} {$box_MANUFACTURERS} {$box_NOTIFICATIONS} {$box_TELL_FRIEND}</td> </tr> </table> </td> </tr> <tr> <td height="5" class="streifen"></td> </tr> <tr> <td><div align="center"><font size="2"><font color="#000000">Template by</font> www.install24.com</font></div></td> </tr> </table> </div> |
|
|||
|
hier eine l?sung, falls du es nicht findest wo es definiert ist:
Suche in der Datei includes/banners.php folgenden Code: Code:
if ($banner = xtc_banner_exists('dynamic', 'banner')) {
$smarty->assign('BANNER',xtc_display_banner('static', $banner));
}
Code:
if ($banner2 = xtc_banner_exists('dynamic', 'banner2')) {
$smarty->assign('BANNER2',xtc_display_banner('static', $banner2));
}
Nun noch in der index.html folgendes ?ndern: suche: Code:
<tr> <td height="5" class="streifen"></td> </tr> Code:
{if $BANNER2}
<tr>
<td align="center">{$BANNER2}</td>
</tr>{if}
|
![]() |
| Lesezeichen |
| Stichworte |
| banner, xte |
| Themen-Optionen | |
| Ansicht | |
|
|