AW: Slider funktioniert nicht nach Update von 3.17 auf 3.19
So hab jetzt die original Header Datei genommen und alle Modifizierungen meiner alten custom Datei (bei der der Slider nicht geht) dort eingefügt und diese in header_custom.tpl unbenannt.
Das Ergebnis ist, mir erscheint eine leere weiße Seite...
Code:
{**
* @copyright (c) 2006-2010 JTL-Software-GmbH, all rights reserved
* @author JTL-Software-GmbH (www.jtl-software.de)
*
* use is subject to license terms
* http://jtl-software.de/jtlshop3license.html
*}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$meta_language}" lang="{$meta_language}">
<head>
<meta http-equiv="content-type" content="text/html; charset={$JTL_CHARSET}" />
<meta http-equiv="content-language" content="{$meta_language}" />
<meta name="description" content="{$meta_description|truncate:1000:"":true}" />
<meta name="keywords" content="{$meta_keywords|truncate:255:"":true}" />
{if $Einstellungen.template.general.viewport_device_width == 'Y'}
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.5" />
{/if}
<meta name="language" content="{$meta_language}" />
{if $bNoIndex == true || $Link->cNoFollow == "Y"}
<meta name="robots" content="noindex" />
{else}
<meta name="robots" content="index, follow" />
{/if}
<meta name="publisher" content="{$meta_publisher}" />
<meta name="copyright" content="{$meta_copyright}" />
<title>{$meta_title}</title>
{if isset($cCanonicalURL) && $cCanonicalURL|count_characters > 0}
<link rel="canonical" href="{$cCanonicalURL}" />
{/if}
{assign var=cBaseRefURL value=$ShopURL}
{if $smarty.server.HTTPS > 0}
{assign var=cBaseRefURL value=$ShopURL|replace:"http://":"https://"}
{/if}
<base href="{$cBaseRefURL}/" />
<link type="image/x-icon" href="{$currentTemplateDir}themes/base/images/favicon.ico" rel="shortcut icon" />
<link href="{$currentTemplateDir}themes/base/images/apple-touch-icon.png" rel="apple-touch-icon" />
{if $nSeitenTyp == 1 && isset($Artikel)}
<link rel="image_src" href="{$Artikel->Bilder[0]->cPfadNormal}" />
{/if}
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
{* CDN Fallback jQuery *}
<script type="text/javascript">//<=!=[=C=D=A=T=A=[
(window.jQuery)||document.write('<script type="text/javascript" src="{$currentTemplateDir}js/jquery.min.js"><\/script>');//]=]=>
</script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
{* CDN Fallback jQueryUI *}
<script type="text/javascript">//<=!=[=C=D=A=T=A=[
(window.jQuery.ui)||document.write('<script type="text/javascript" src="{$currentTemplateDir}js/jquery-ui.min.js"><\/script>');//]=]=>
</script>
<script type="text/javascript" src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
{* CDN Fallback jQueryMigrate *}
<script type="text/javascript">//<=!=[=C=D=A=T=A=[
(window.jQuery.migrateWarnings)||document.write('<script type="text/javascript" src="{$currentTemplateDir}js/jquery-migrate.min.js"><\/script>');//]=]=>
</script>
{if $Einstellungen.template.general.use_minify == 'N'}
{foreach from=$cCSS_arr item="cCSS"}
<link type="text/css" href="{$cCSS}" rel="stylesheet" media="screen" />
{/foreach}
{if $Einstellungen.template.theme.theme_default ne "tiny"}
<link type="text/css" href="{$currentTemplateDir}themes/{$Einstellungen.template.theme.theme_default}/theme.css" rel="stylesheet" media="screen" />
{/if}
<link type="text/css" href="{$currentTemplateDir}themes/base/print.css" rel="stylesheet" media="print" />
{foreach from=$cJS_arr item="cJS"}
<script type="text/javascript" src="{$cJS}"></script>
{/foreach}
{else}
<link type="text/css" href="{$PFAD_MINIFY}/index.php?g={$Einstellungen.template.theme.theme_default}.css&{$nTemplateVersion}" rel="stylesheet" media="screen" />
{if $Einstellungen.template.theme.theme_default ne "tiny"}
<link type="text/css" href="{$currentTemplateDir}themes/{$Einstellungen.template.theme.theme_default}/theme.css" rel="stylesheet" media="screen" />
{/if}
<link type="text/css" href="{$PFAD_MINIFY}/index.php?g=print.css&{$nTemplateVersion}" rel="stylesheet" media="print" />
<script type="text/javascript" src="{$PFAD_MINIFY}/index.php?g=jtl3.js&{$nTemplateVersion}"></script>
{/if}
{assign var="customJSPath" value=`$currentTemplateDir`/js/custom.js}
{if file_exists($customJSPath)}
<script type="text/javascript" src="{$customJSPath}"></script>
{/if}
<!--[if lt IE 7]>
<link type="text/css" href="{$currentTemplateDir}themes/base/iehacks.css" rel="stylesheet" />
<![endif]-->
{if isset($Einstellungen.rss.rss_nutzen) && $Einstellungen.rss.rss_nutzen == "Y"}
<link rel="alternate" type="application/rss+xml" title="Newsfeed {$Einstellungen.global.global_shopname}" href="rss.xml" />
{/if}
{* Pagination *}
{if $Suchergebnisse->Seitenzahlen->maxSeite>1 && isset($oNaviSeite_arr) && $oNaviSeite_arr|@count > 0}
{if $Suchergebnisse->Seitenzahlen->AktuelleSeite>1}
<link rel="prev" href="{$oNaviSeite_arr.zurueck->cURL}" />
{/if}
{if $Suchergebnisse->Seitenzahlen->AktuelleSeite < $Suchergebnisse->Seitenzahlen->maxSeite}
<link rel="next" href="{$oNaviSeite_arr.vor->cURL}" />
{/if}
{/if}
{if $bMobilMoeglich}
<script type="text/javascript">
var message = $("<div/>").html('{lang key="switchToMobileTemplate"}');
if (confirm(message.text()))
//window.location.href = '{$ShopURL}/index.php?mt=1';
window.location.href = window.location.href+'?mt=1';
</script>
{/if}
{$xajax_javascript}
</head>
<body class="page_type_{$nSeitenTyp}{if $oBrowser->nType > 0} browser_type_{$oBrowser->cBrowser}{/if}">
<div id="page"{if $bExclusive} class="exclusive"{/if}>
{if !$bExclusive}
<div id="header_wrapper">
{if isset($bAdminWartungsmodus) && $bAdminWartungsmodus}
<div id="maintenance_mode">
<p class="box_info">{lang key="adminMaintenanceMode" section="global"}</p>
</div>
{/if}
<div id="header" class="page_width {if $Einstellungen.template.general.page_align == 'L'}page_left{else}page_center{/if}">
<div id="logo">
<a href="{$ShopURL}{if $SID}/index.php?{$SID}{/if}" title="{$Einstellungen.global.global_shopname}">
{image src=$ShopLogoURL alt=$Einstellungen.global.global_shopname}
</a>
</div>
<div class="bgx">
<div id="headlinks_wrapper">
<div id="headlinks">
{if isset($smarty.session.Linkgruppen->Kopf) && $smarty.session.Linkgruppen->Kopf}
<ul>
{foreach name=kopflinks from=$smarty.session.Linkgruppen->Kopf->Links item=Link}
<li{if $smarty.foreach.kopflinks.first} class="first{if $Link->aktiv==1} current{/if}"{/if}{if $Link->aktiv==1 && !$smarty.foreach.kopflinks.first} class="current"{/if}><a href="{$Link->URL}"{if $Link->cNoFollow == "Y"} rel="nofollow"{/if}>id="link_{$Link->nSort}" class="linkbg" title="{$Link->cLocalizedName[$smarty.session.cISOSprache]}"><span>{$Link->cLocalizedName[$smarty.session.cISOSprache]}</span></a></li>
{/foreach}
<li id="warenkorbx">
<a href="warenkorb.php?{$SID}" class="expander{if $smarty.session.Warenkorb->PositionenArr|@count == 0} offwar{/if}" id="warenkorb">{lang key="basket2"}
<b>{$WarenkorbWarensumme[0]}</b></a>
{if $smarty.session.Warenkorb->PositionenArr|@count > 0}
<div id="ep_warenkorb" class="expander_box">
<div class="expander_inner">
{include file="tpl_inc/warenkorb_mini.tpl"}
</li>
</ul>
{/if}
</div>
</div>
<div id="settings">
<ul>
<!-- login -->
<li id="loginx">
{if !isset($smarty.session.Kunde->kKunde) || $smarty.session.Kunde->kKunde == 0}
<a href="jtl.php" id="login" class="expander">{lang key="loginx1" section="global"}<b>{lang key="loginx2" section="global"}</b></a>
<div id="ep_login" class="expander_box">
<div class="expander_inner">
<!-- login form -->
<form action="{$ShopURLSSL}/jtl.php" method="post">
<fieldset class="quick_login">
<ul class="input_block">
<li>
<label for="email_quick">{lang key="emailadress" section="global"}<em>*</em>:</label>
<span id="inp"><input type="text" name="email" id="email_quick" /></span>
</li>
<li>
<label for="password_quick">{lang key="password" section="global"}<em>*</em>:</label>
<span id="inp"><input type="password" name="passwort" id="password_quick" /></span>
</li>
<li class="leftbtn">
<input type="hidden" name="login" value="1" />
<input type="hidden" name="{$session_name}" value="{$session_id}" />
{if $oRedirect->cURL|count_characters > 0}
{foreach name=parameter from=$oRedirect->oParameter_arr item=oParameter}
<input type="hidden" name="{$oParameter->Name}" value="{$oParameter->Wert}" />
{/foreach}
<input type="hidden" name="r" value="{$oRedirect->nRedirect}" />
<input type="hidden" name="cURL" value="{$oRedirect->cURL}" />
{/if}
<input type="submit" class="submit" value="{lang key="loginBasket" section="global"}" />
</li>
<li class="txxt">
<p><a href="pass.php?{$SID}" rel="nofollow">{lang key="forgotPassword" section="global"}</a></p>
<p>{lang key="newHere" section="global"} <a href="registrieren.php?{$SID}">{lang key="registerNow" section="global"}</a></p>
</li>
</ul>
</fieldset>
</form>
<!-- // login form -->
</div>
</div>
{else}
<span id="logx">{lang key="hello" section="global"} {$smarty.session.Kunde->cAnredeLocalized} {$smarty.session.Kunde->cNachname}</span>
<a id="nolog" href="jtl.php?{$SID}">{lang key="myAccount" section="global"}</a>
<a id="nolog" href="jtl.php?logout=1&{$SID}">{lang key="logOut" section="global"}</a>
{/if}
</li>
<!-- currency -->
{if isset($smarty.session.Waehrungen) && $smarty.session.Waehrungen|@count > 1}
<li>
<a href="{$Waehrung->cURL}" id="currency" class="expander" rel="nofollow">{$smarty.session.Waehrung->cName}</a>
<div id="ep_currency" class="expander_box">
<div class="expander_inner">
<p>
{foreach from=$smarty.session.Waehrungen item=oWaehrung}
<a href="{$oWaehrung->cURL}" rel="nofollow">{$oWaehrung->cName}</a>
{/foreach}
</p>
</div>
</div>
</li>
{/if}
<!-- language -->
{if isset($smarty.session.Sprachen) && $smarty.session.Sprachen|@count > 1}
<li>
{foreach from=$smarty.session.Sprachen item=Sprache}
{if $Sprache->kSprache == $smarty.session.kSprache}
<a href="{$Sprache->cURL}" id="language" class="expander" rel="nofollow">
{*if $lang == "ger"}{$Sprache->cNameDeutsch}{else}{$Sprache->cNameEnglisch}{/if*}
<img src="{$currentTemplateDir}/themes/base/images/flags/{$lang}.png" height="12" class="vmiddle" alt="{if $lang == "ger"}{$Sprache->cNameDeutsch}{else}{$Sprache->cNameEnglisch}{/if}" />
</a>
{/if}
{/foreach}
<div id="ep_language" class="expander_box">
<div class="expander_inner">
{foreach from=$smarty.session.Sprachen item=oSprache}
{if $oSprache->kSprache != $smarty.session.kSprache}
<p><a href="{$oSprache->cURL}" class="link_lang {$oSprache->cISO}" rel="nofollow">{if $lang == "ger"}{$oSprache->cNameDeutsch}{else}{$oSprache->cNameEnglisch}{/if}</a></p>
{/if}
{/foreach}
</div>
</div>
</li>
{/if}
</ul>
</div>
</div>
<div id="search" class="page_width {if $Einstellungen.template.general.page_align == 'L'}page_left{else}page_center{/if}">
<form class="search-form" id="search-form" action="navi.php" method="get">
<fieldset>
<input type="text" name="suchausdruck" id="suggest" class="placeholder" title="{lang key="findProduct"}" />
<input type="hidden" name="{$session_name}" value="{$session_id}" />
<input type="submit" id="submit_search" value="{lang key="search" section="global"}" />
</fieldset>
</form>
</div>
{if $Boxen.TopAngebot->anzeigen=="Y" || $Boxen.Sonderangebote->anzeigen=="Y" || $Boxen.TopAngebot->anzeigen=="Y" || $Boxen.Bestseller->anzeigen=="Y" || $Boxen.ErscheinendeProdukte->anzeigen=="Y" || $Boxen.TopBewertet->anzeigen=="Y"}
<div id="speciallinks" class="page_width {if $Einstellungen.template.general.page_align == 'L'}page_left{else}page_center{/if}">
<ul>
{if $Boxen.NeuImSortiment->anzeigen=="Y"}
<li><a href="{$Boxen.NeuImSortiment->cURL|replace:"&":"&"}"><span>{lang key="showAllNewProducts" section="global"}</span></a></li>
{/if}
{if $Boxen.Sonderangebote->anzeigen=="Y"}
<li><a href="{$Boxen.Sonderangebote->cURL|replace:"&":"&"}"><span>{lang key="showAllSpecialOffers" section="global"}</span></a></li>
{/if}
{if $Boxen.TopAngebot->anzeigen=="Y"}
<li><a href="{$Boxen.TopAngebot->cURL|replace:"&":"&"}"><span>{lang key="showAllTopOffers" section="global"}</span></a></li>
{/if}
{if $Boxen.Bestseller->anzeigen=="Y"}
<li><a href="{$Boxen.Bestseller->cURL|replace:"&":"&"}"><span>{lang key="showAllBestsellers" section="global"}</span></a></li>
{/if}
{if $Boxen.ErscheinendeProdukte->anzeigen=="Y"}
<li><a href="{$Boxen.ErscheinendeProdukte->cURL|replace:"&":"&"}"><span>{lang key="showAllUpcomingProducts" section="global"}</span></a></li>
{/if}
{if $Boxen.TopBewertet->anzeigen=="Y"}
<li><a href="{$Boxen.TopBewertet->cURL|replace:"&":"&"}"><span>{lang key="topReviews" section="global"}</span></a></li>
{/if}
</ul>
</div>
{/if}
</div>
{/if}
{if !$bExclusive}
<div id="outer_wrapper" class="{if $Einstellungen.template.general.page_align == 'L'}page_left{else}page_center{/if} page_width">
<div id="page_wrapper" class="{get_box_layout}">
<div id="content_wrapper">
{/if}
Vielleicht sieht jemand von euch einen Fehler..
Also wie es zurzeit aussieht:
-jetzige header_custom.tpl -> slider und andere Gimmicks funktionieren nicht, template wird aber richtig angezeigt, bestellungen usw problemlos möglich
-rauslöschen der header_custom und nur originale header.tpl -> slider und andere Gimmicks funktionieren, Template wird nicht richtig angezeigt (Headerbereich verschoben, Warenkorb transparent, kein Loginfenster, kein Footerbereich, etc.), bestellungen überhaupt nicht möglich
-modifizierungen aus der alten header_custom in die originale header.tpl eingefügt und eine neue header_custom.tpl erstellt --> mir wird eine weiße Seite angezeigt.