Antwort #89 am: 27. Oktober 2011, 11:29:31
Hallo und einen schönen guten Morgen.
Ich möchte nochmal den
Beitrag vom 20. Juli 2009 aufgreifen:
In der 1.05 Version funktioniert das offensichtlich nicht oder ich habe ein dickes Brett vor dem Kopf. Kann mir einer sagen, was hier falsch läuft? Es kommt keine Fehlermeldung, aber es wird einfach die id=contenthalf nicht angesprochen, also funktioniert die Abfragebedingung nicht, denke ich. Ich finde den Fehler aber nicht. Das Ausblenden der Boxen funktioniert problemlos.
Die Seite ist hier zu finden:
http://winnlodge.de/modified eCommerce Shopsoftwareod/ (noch Baustelle) und hier kommt die "index.html":
{config_load
file="$language/lang_$language.conf" section
="index"}<div id
="staticcart"> <div id
="staticcartinner"> <div id
="links"> {if $smarty.session
.customers_status
.customers_status_id
== '1'} »
; <a href
="{php}echo xtc_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL');{/php}"><strong
>{#new_customer#}</strong></a>
{/if} {if $smarty.session
.customer_id
} »
; <a href
="{$logoff}"><strong
>{#link_logoff#}</strong></a>
{else} »
; <a href
="{$login}"><strong
>{#link_login#}</strong></a>
{/if} </div
> <div id
="cart">{if !strstr ($smarty.server
.PHP_SELF
, 'checkout')}{$box_CART}{/if}</div
> <div id
="suche">{$box_SEARCH}</div
> </div
></div
><div id
="wrap"> <div id
="header"> <div id
="logo"><img src
="{$tpl_path}img/spacer.gif" width
="400" alt
="{$store_name}" /></div
> </div
> <div id
="breadcrumb">{$navtrail}</div
> <div id
="contentwrap"> {if !strstr ($smarty.server
.PHP_SELF
, 'checkout')} <div id
="leftcol">{$box_CATEGORIES}{$box_CONTENT}{$box_INFORMATION}{$box_LAST_VIEWED}{$box_SPECIALS}{$box_WHATSNEW}{$box_LOGIN}{$box_ADMIN}</div
> {/if} <div
{if strstr ($smarty.server
.PHP_SELF
, 'content')} id
="contenthalf" {elseif !strstr ($smarty.server
.PHP_SELF
, 'checkout')} id
="content" {else} id
="contentfull" {/if} > {if strstr ($smarty.server
.PHP_SELF
, 'index')} {if $smarty.get
.cPath
==null and
$smarty.get
.manufacturers_id
==''} {if $BANNER}{$BANNER}{/if} {/if} {/if} {$main_content}</div
> {if !strstr ($smarty.server
.PHP_SELF
, 'checkout')} {if strstr($smarty.server
.PHP_SELF
, 'index')} {if $smarty.get
.cPath
==null and
$smarty.get
.manufacturers_id
==''} <div id
="rightcol"> {$box_TAG_CLOUD} <a href
="" alt
="Info Wellpappe" title
="Info Wellpappe"><img src
="http://kartonabwerk.de/images/banner/wellpappe.jpg"></a
> <a href
="" alt
="Info Wellpappe" title
="Info Wellpappe"><img src
="http://kartonabwerk.de/images/banner/wellarten.jpg"></a
> <a href
="" alt
="Info FEFCO-Code" title
="Info FEFCO-Code"><img src
="http://kartonabwerk.de/images/banner/fefco.jpg"></a
> <a href
="" alt
="Info Paketgrößen" title
="Info Paketgrößen"><img src
="http://kartonabwerk.de/images/banner/versandgr.jpg"></a
> </div
> {/if} {/if} </div
> {/if} </div
><p
class="footer">{$smarty.const.TITLE
} © {$smarty.now
|date_format:"%Y"} | Template
© 2009 by modified eCommerce Shopsoftware eCommerce Shopsoftware
</p
></div
> Die css ist um die zusätzliche Klasse erweitert
/* MAIN CONTENT */
#content {
float:left;
width:590px;
padding:0 25px;
margin-bottom:15px;
}
#contenthalf {
width:725px;
padding:0 0 0 225px;
margin-bottom:15px;
}
#contentfull {
width:920px;
padding:0 30px;
margin-bottom:15px;
}
/* CATEGORY MENU */
Einen schönen Tag und schon mal ein fettes Danke.
Joachim