Hallo, liebe Leutz,
ich bekomme meinen Block einfach nicht angezeigt..... :wacko:
Beschreibung:
Da ich meinen Shop als inlineframe in nem Nuke laufen lassen will, besteht mein header-Bereich nur aus dem Navtrail.
Diesen Bereich aus der index.html m?chte ich rechts oben in einer box einbinden:
Code:
<!--Tabelle Pics-->
<table width="{#box_right_width#}" align="right" border="0" cellpadding="0" cellspacing="0">
<tr align="right">
<td width="56" align="center" class="headerNavigation">{if $account}<a class="headerNavigation_gelb" href="{$account}"><img src="{$tpl_path}own/pic-account.gif " border="0" alt="{#link_account#}">{/if}</a></td>
<td width="39" align="right" class="headerNavigation"><a class="headerNavigation_rot" href="{$cart}"><img src="{$tpl_path}own/cart.gif" border="0" alt="{#link_cart#}"></a></td>
<td width="36" align="right" class="headerNavigation"><a class="headerNavigation_gruen" href="{$checkout}"><img src="{$tpl_path}own/kasse.gif" border="0" alt="{#link_checkout#}"></a></td>
</tr>
</table>
<!--Tabelle Pics ende-->
1. Hab auf der Basis der box affiliate.php die Datei
pics.php erstellt:
Code:
<?php
$box_smarty = new smarty;
$box_content='';
$box_smarty->assign('tpl_path',DIR_WS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/');
$box_smarty->assign('BOX_CONTENT', $box_content);
$box_smarty->assign('language', $_SESSION['language']);
// set cache ID
$box_smarty->caching = 0;
$box_affiliate = $box_smarty->fetch(CURRENT_TEMPLATE.'/boxes/box_pics.html');
$smarty->assign('BOX_PICS',$box_PICS);
?>
2. Hab auf der Basis der box_affiliate.html die Datei
box_pics.html erstellt und den Box_content direkt reinkopiert:
Code:
{config_load file="$language/lang_$language.conf" section="index"}
<table class="box_table" border="0" cellpadding='0' cellspacing='0'>
<tr class="box_line_top">
<td class="box_ol"></td>
<td class="box_om" style="white-space:nowrap">{#heading_affiliate#}</td>
<td class="box_or"></td>
</tr>
<!--GG Zwischenraum boxheader + content -->
<tr>
<td class="box_l"></td>
<td class="bodymain" width="">
<!-- {$BOX_CONTENT} BEGIN -->
<table width="100%" align="center" border="0" cellpadding="2" cellspacing="2">
<tr align="center">
<td width="56" align="center" class="headerNavigation">{if $account}<a class="headerNavigation_gelb" href="{$account}"><img src="{$tpl_path}own/pic-account.gif " border="0" alt="{#link_account#}">{/if}</a></td>
<td width="39" align="right" class="headerNavigation"><a class="headerNavigation_rot" href="{$cart}"><img src="{$tpl_path}own/cart.gif" border="0" alt="{#link_cart#}"></a></td>
<td width="36" align="right" class="headerNavigation"><a class="headerNavigation_gruen" href="{$checkout}"><img src="{$tpl_path}own/kasse.gif" border="0" alt="{#link_checkout#}"></a></td>
</tr>
</table><!--Tabelle Pics ende-->
<!-- {$BOX_CONTENT} END -->
</td>
<td class="box_r"></td>
</tr>
<tr class="box_line_bottom">
<td class="box_ul"></td>
<td class="box_um"></td>
<td class="box_ur"></td>
</tr>
</table>
<!--GG Abstand n?chste Box-->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="box_space"></td>
</tr>
</table>
3. Dann in der boxes.php am Ende eingef?gt:
Code:
include (DIR_WS_BOXES . 'pics.php');
4. Dann in der index.html erg?nzt:
Code:
<td width="{#box_right_width#}" align="{#box_right_align#}">{$box_PICS} {$box_CART} {$box_LOGIN} {$box_INFOBOX} {$box_ADMIN} {$box_BESTSELLERS} {$box_SEARCH} {$box_MANUFACTURERS_INFO} {$box_NOTIFICATIONS} {$box_TELL_FRIEND} </td>
:hit: Aber es wird weder die Box noch eine Fehlermeldung angezeigt!
K?nntet Ihr mir bitte einen Denkansto? geben, wo der (Denk-) Fehler liegt?
Danke herzlich, die Hilfe darf auch mit
"hast Du Tomaten auf den Augen?" anfangen......