Antwort #9 am: 09. April 2013, 12:39:38
Warum hast du den Backlink zu uns entfernt?
Das kann ich aufklären.
Er ist nicht entfernt, aber der Link zu uns wird in Shopversion 1.06 nur noch von der Startseite des Shops gesetzt. Auf allen Unterseiten erscheint nur noch der Name der Shopsoftware, damit die Links nicht als Link-SPAM gewertet werden. Wir hatten das anfangs mit der "copyright.php" versucht zu lösen, aber das gab ja bekanntlich einen riesen Aufschrei in der Community und so haben wir das auf die jetzige Lösung umgesetzt.
Du hast aber beim setzen der Links im Footer einen Fehler gemacht. Schau dazu mal bitte hier:
Links? Links! Wie richtig im Content Manager anlegen?Zusätzlich hast du vergessen den <p> tag zu schliessen und ein DIV scheint zu viel zu sein. Außerdem ist die Datei komisch formatiert.
Richtig also:
<div class="footer">
<div>
<p align="center">
<a href="{php}echo xtc_href_link(FILENAME_CONTENT, 'coID=1');{/php}">Liefer- und Versandkosten</a> |
<a href="{php}echo xtc_href_link(FILENAME_CONTENT, 'coID=2');{/php}">Privatsphäre und Datenschutz</a> |
<a href="{php}echo xtc_href_link(FILENAME_CONTENT, 'coID=3');{/php}">Unsere AGB</a> |
<a href="{php}echo xtc_href_link(FILENAME_CONTENT, 'coID=4');{/php}">Impressum</a> |
<a href="{php}echo xtc_href_link(FILENAME_CONTENT, 'coID=7');{/php}">Kontakt</a> |
<a href="{php}echo xtc_href_link(FILENAME_CONTENT, 'coID=9');{/php}">Widerrufsrecht</a></p>
</div>
</div>
Wobei mir nicht ganz klar ist, wozu du da ein DIV in einem DIV hast. Folgendes sollte ausreichen:
<div class="footer">
<p align="center">
<a href="{php}echo xtc_href_link(FILENAME_CONTENT, 'coID=1');{/php}">Liefer- und Versandkosten</a> |
<a href="{php}echo xtc_href_link(FILENAME_CONTENT, 'coID=2');{/php}">Privatsphäre und Datenschutz</a> |
<a href="{php}echo xtc_href_link(FILENAME_CONTENT, 'coID=3');{/php}">Unsere AGB</a> |
<a href="{php}echo xtc_href_link(FILENAME_CONTENT, 'coID=4');{/php}">Impressum</a> |
<a href="{php}echo xtc_href_link(FILENAME_CONTENT, 'coID=7');{/php}">Kontakt</a> |
<a href="{php}echo xtc_href_link(FILENAME_CONTENT, 'coID=9');{/php}">Widerrufsrecht</a></p>
</div>
Nimm am besten den korrekt formatierten Code für die gesamte "index.html":
{config_load
file="$language/lang_$language.conf" section
="index"}<div id
="wrap"> <div id
="header"> <div id
="logo"><img src
="{$tpl_path}img/logo.png" alt
="{$store_name}" title
="{$store_name}" /></div
> </div
> <div id
="topmenuwrap"> <ul id
="topmenu"> <li
><a href
="{$index}">{#link_index#}</a></li>
<li
><a href
="{$cart}">{#link_cart#}</a></li>
{if $account} <li
><a href
="{$account}">{#link_account#}</a></li>
{/if} {if $smarty.session
.customers_status
.customers_status_id
== '1'} <li
><a href
="{php}echo xtc_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL');{/php}">{#new_customer#}</a></li>
{/if} <li
><a href
="{$checkout}">{#link_checkout#}</a></li>
{if $smarty.session
.customer_id
} <li
><a href
="{$logoff}">{#link_logoff#}</a></li>
{else} <li
><a href
="{$login}">{#link_login#}</a></li>
{/if} </ul
> <div id
="languages">{$box_SEARCH}</div
> </div
> <div id
="breadcrumb">{$navtrail}{$box_LANGUAGES}</div
> <div id
="contentwrap"> {if !strstr ($smarty.server
.PHP_SELF
, 'checkout')} <div id
="leftcol">{$box_CATEGORIES}{$box_ADD_QUICKIE}{$box_CONTENT}{$box_NEWSLETTER}{$box_LAST_VIEWED}{$box_REVIEWS}{$box_SPECIALS}{$box_WHATSNEW}{$box_MANUFACTURERS}{$box_MANUFACTURERS_INFO}{$box_CURRENCIES}</div
> {/if} <div
{if !strstr ($smarty.server
.PHP_SELF
, 'checkout')} id
="content" {else} id
="contentfull" {/if} > {$main_content} </div
> {if !strstr ($smarty.server
.PHP_SELF
, 'checkout')} <div id
="rightcol">{$box_CART}{$box_LOGIN}{$box_INFORMATION}{$box_INFOBOX}{$box_SHOP_BEWERTUNG}{$box_CALLBACK}{$box_ADMIN}{$box_BESTSELLERS}</div
> {/if}</div
> <div
class="banner"> {if strstr ($smarty.server
.PHP_SELF
, 'index')} {if $smarty.get
.cPath
==null and
$smarty.get
.manufacturers_id
==''} {if $BANNER}{$BANNER}{/if} {/if} {/if} </div
> <div
class="footer"> <p align
="center"> <a href
="shop_content.php?coID=1">Liefer
- und Versandkosten
</a
> | <a href
="shop_content.php?coID=2">Privatsphäre und Datenschutz
</a
> | <a href
="shop_content.php?coID=3">Unsere AGB
</a
> | <a href
="shop_content.php?coID=4">Impressum
</a
> | <a href
="shop_content.php?coID=7">Kontakt
</a
> | <a href
="shop_content.php?coID=9">Widerrufsrecht
</a
></p
> </div
> </div
></div
> Grüße
Torsten