Neuigkeiten
  • Die modified eCommerce Shopsoftware ist kostenlos, aber nicht umsonst.
    Spenden
  • Damit wir die modified eCommerce Shopsoftware auch zukünftig kostenlos anbieten können:
    Spenden
  • Thema: Grösse der Versandoptionen anpassen?

    karsta.de

    • Experte
    • Beiträge: 3.157
    Re: Grösse der Versandoptionen anpassen?
    Antwort #15 am: 24. Mai 2017, 23:54:34
    Ersetze mal deine index.html mit dieser:

    Code: PHP  [Auswählen]
    {config_load file="$language/lang_$language.conf" section="index"}
    {config_load file="lang_`$language`.custom"}
    {if isset($box_ADMIN)}<div class="adminspacer"></div>{$box_ADMIN}{/if}
    <div id="layout_logo">
    <div id="logo"><a href="{$index}" title="{#link_index#} &bull; {$store_name}">&nbsp;</a></div>
    {if isset($box_SEARCH)}<div id="search">{$box_SEARCH}</div>{/if}
    </div>
    {* ENDE layout_logo *}
    <div id="content_navbar">
    <ul class="contentnavigation">
    <li class="first"><a href="https://hardwaretec.ch/"><i class="fa fa-home" aria-hidden="true"></i> Startseite</a></li>
    <li class="first"><a href="https://hardwaretec.ch/shopping_cart.php"><i class="fa fa-shopping-basket" aria-hidden="true"></i> Warenkorb</a></li>
    <li class="last"><a href="{$checkout}"><strong><i class="fa fa-credit-card" aria-hidden="true"></i> {#link_checkout#}</strong></a></li>

    {if isset($account)}
    <li class="first"><a href="{$account}"><i class="fa fa-user" aria-hidden="true"></i> {#link_account#}</a></li>{/if}
    {if isset($smarty.session.customer_id)}<li{if !isset($account)} class="first"{/if}><a href="{$logoff}"><i class="fa fa-sign-out" aria-hidden="true"></i> {#link_logoff#}</a></li>
    {else}
    <li{if !isset($account)} class="first"{/if}><a href="{$create_account}"><i class="fa fa-user-plus" aria-hidden="true"></i> {#new_customer#}</a></li>
    <li><a href="{$login}"><i class="fa fa-sign-in" aria-hidden="true"></i> {#link_login#}</a></li>
    {/if}
     
    {if isset($box_CART)}<li class="cart">{$box_CART}</li>{/if}
    {if isset($box_WISHLIST)}<li class="wishlist">{$box_WISHLIST}</li>{/if}
    </div>
           
    {if isset($navtrail)}<div id="breadcrumb"><span class="breadcrumb_info">{#text_here#}</span>{$navtrail|replace:"&raquo; ":""}</div>{/if}

    <div id="layout_content" class="cf">
    {if isset($home) && $home == true}
    <div id="col_left">
          {if isset($box_CATEGORIES)}{$box_CATEGORIES}{/if}
              {if isset($box_KONFIGURATOR)}{$box_KONFIGURATOR}{/if}
          {if isset($box_ADD_QUICKIE)}{$box_ADD_QUICKIE}{/if}
          {if isset($box_LOGIN)}{$box_LOGIN}{/if}
          {if isset($box_WHATSNEW)}{$box_WHATSNEW}{/if}
          {if isset($box_SPECIALS)}{$box_SPECIALS}{/if}
          {if isset($box_LAST_VIEWED)}{$box_LAST_VIEWED}{/if}
          {if isset($box_REVIEWS)}{$box_REVIEWS}{/if}
          {if isset($box_MANUFACTURERS)}{$box_MANUFACTURERS}{/if}
          {if isset($box_MANUFACTURERS_INFO)}{$box_MANUFACTURERS_INFO}{/if}
          {if isset($box_CURRENCIES)}{$box_CURRENCIES}{/if}
          {if isset($box_HISTORY)}{$box_HISTORY}{/if}
          {if isset($box_TRUSTEDSHOPS)}{$box_TRUSTEDSHOPS}{/if}
    </div>
    {* ENDE col_left *}
        <div id="col_right">
          {if isset($SLIDER)}<div class="content_banner cf"><ul class="bxcarousel_slider">{foreach name=outer item=slider from=$SLIDER}<li>{$slider.IMAGE}</li>{/foreach}</ul></div>{/if}
          {if strstr ($smarty.server.PHP_SELF, 'index')}{if !strstr ($smarty.server.PHP_SELF, 'checkout')}
                  {if $smarty.get.cPath==null and $smarty.get.manufacturers_id==''}{getProductsTreadmill}{/if}
          {/if}{/if}
          {if isset($main_content)}{$main_content}{/if}
          {if isset($box_BESTSELLERS)}{$box_BESTSELLERS}{/if}
        </div>
    {* ENDE col_right *}
    <!-- ################################# -->
       {* START col_full *}
      {elseif isset($fullcontent) && $fullcontent == true}
        <div id="col_full" class="cf">
          {if isset($main_content)}{$main_content}{/if}
          {if $bestseller}{if isset($box_BESTSELLERS)}{$box_BESTSELLERS}{/if}{/if}
        </div>
        {* ENDE col_full *}  
    <!-- #################### -->    
     {else}
          <div id="col_left">
          {if isset($box_CATEGORIES)}{$box_CATEGORIES}{/if}
    {if isset($box_KONFIGURATOR)}{$box_KONFIGURATOR}{/if}
          {if isset($box_ADD_QUICKIE)}{*$box_ADD_QUICKIE*}{/if}
          {if isset($box_LOGIN)}{$box_LOGIN}{/if}
          {if isset($box_WHATSNEW)}{$box_WHATSNEW}{/if}
          {if isset($box_SPECIALS)}{$box_SPECIALS}{/if}
          {if isset($box_LAST_VIEWED)}{$box_LAST_VIEWED}{/if}
          {if isset($box_REVIEWS)}{$box_REVIEWS}{/if}
          {if isset($box_MANUFACTURERS)}{$box_MANUFACTURERS}{/if}
          {if isset($box_MANUFACTURERS_INFO)}{$box_MANUFACTURERS_INFO}{/if}
          {if isset($box_CURRENCIES)}{$box_CURRENCIES}{/if}
          {if isset($box_HISTORY)}{$box_HISTORY}{/if}
          {if isset($box_TRUSTEDSHOPS)}{$box_TRUSTEDSHOPS}{/if}

        </div>
        {* ENDE col_left *}                                
        <div id="col_right">
          {if isset($main_content)}{$main_content}{/if}
          {if $bestseller}{if isset($box_BESTSELLERS)}{$box_BESTSELLERS}{/if}{/if}
        </div>
        {* ENDE col_right *}
      {/if}        
    </div>
    {* ENDE layout_content *}

    <div style="position:relative;margin:0 auto;margin-top:10px;margin-bottom:-10px;width:980px;background-color:#04B404;border:2px solid #04B404;border-radius:12px;"><table style="width:100%;margin:5px 0px 5px 0px;" cellspacing="0" cellpadding="0"><tbody><tr><td style="text-align:right;padding-right:10px;" width="230px"><span style="font-family: 'fjallaoneregular', sans-serif;color: #000;font-size: 16px;">Newsletter-Anmeldung:</span></td><td width="400px"><form id="sign_in" action="https://www.hardwaretec.ch/newsletter.php" method="post"><div class="newsletter_form"><input name="email" maxlength="50" style="border-radius:12px;border:0px solid #04B404;" type="text"><input src="https://www.hardwaretec.ch/templates/tpl_modified/buttons/german/button_login_newsletter.gif" alt="Anmelden" title="Anmelden" type="image"></div></form></td><td style="padding:0px 40px 0px 10px;" width="300px"><span style="font-size:11px;color:#000;">Der Newsletter kann jederzeit hier oder in Ihrem Kunden- Konto abbestellt werden.</span></td></tr></tbody></table></div>


    <div id="layout_footer">
      <div id="layout_footer_inner" class="cf">
        {if isset($box_CONTENT)}<div class="footer_box first">{$box_CONTENT}</div>{/if}
        {if isset($box_INFORMATION)}<div class="footer_box">{$box_INFORMATION}</div>{/if}
        {if isset($box_MISCELLANEOUS)}<div class="footer_box">{$box_MISCELLANEOUS}</div>{/if}
      </div>
      <div class="mod_copyright">{$smarty.const.TITLE} &copy; {$smarty.now|date_format:"%Y"} | Template &copy; 2009-{$smarty.now|date_format:"%Y"} by <span class="cop_magenta">mod</span><span class="cop_grey">ified eCommerce Shopsoftware</span></div>
    </div>



    {if ($smarty.const.TRACKING_COUNT_ADMIN_ACTIVE == 'true' && $smarty.session.customers_status.customers_status_id == '0') || $smarty.session.customers_status.customers_status_id != '0'}
      {if $smarty.const.TRACKING_PIWIK_ACTIVE == 'true'}
        {piwik url=$smarty.const.TRACKING_PIWIK_LOCAL_PATH id=$smarty.const.TRACKING_PIWIK_ID goal=$smarty.const.TRACKING_PIWIK_GOAL}
      {/if}
      {if $smarty.const.TRACKING_GOOGLEANALYTICS_ACTIVE == 'true'}
        {googleanalytics account=$smarty.const.TRACKING_GOOGLEANALYTICS_ID}
      {/if}
      {if $smarty.const.TRACKING_FACEBOOK_ACTIVE == 'true'}
        {facebook id=$smarty.const.TRACKING_FACEBOOK_ID}
      {/if}
    {/if}
    {if $smarty.const.GOOGLE_CERTIFIED_SHOPS_MERCHANT_ACTIVE == 'true'}
      {googlecertificate subaccount=$smarty.const.GOOGLE_SHOPPING_ID account=$smarty.const.GOOGLE_TRUSTED_ID}
    {/if}



    <!-- Piwik -->
    <script type="text/javascript">
      var _paq = _paq || [];
      /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
      _paq.push(['trackPageView']);
      _paq.push(['enableLinkTracking']);
      (function() {
        var u="//hardwaretec.ch/piwik/";
        _paq.push(['setTrackerUrl', u+'piwik.php']);
        _paq.push(['setSiteId', '1']);
        var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
        g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
      })();
    </script>
    <!-- End Piwik Code -->

    <a id="sys_contact" target="_self" href="{$smarty.const.FILENAME_CONTENT|xtc_href_link:'coID=7'}" title="Kontakt"> </a>
    <a id="sys_facebook" target="_blank" href="https://www.facebook.com/Hardwaretec.ch/" title="Facebook"> </a>

     

    sandro22

    • Viel Schreiber
    • Beiträge: 589
    • Geschlecht:
    Re: Grösse der Versandoptionen anpassen?
    Antwort #16 am: 24. Mai 2017, 23:59:58
    Ich danke dir so Funktioniert es.

    Kannst du mir noch den Fehler sagen?

    gruss sandro

    karsta.de

    • Experte
    • Beiträge: 3.157
    Re: Grösse der Versandoptionen anpassen?
    Antwort #17 am: 25. Mai 2017, 00:07:14
    Zeile 84-90 habe ich ersetzt mit folgenden Zeilen:
    Code: PHP  [Auswählen]
    {* ENDE col_right *}
    <!-- ################################# -->
      {* START col_full *}
      {elseif isset($fullcontent) && $fullcontent == true}
        <div id="col_full" class="cf">
          {if isset($main_content)}{$main_content}{/if}
          {if $bestseller}{if isset($box_BESTSELLERS)}{$box_BESTSELLERS}{/if}{/if}
        </div>
        {* ENDE col_full *}  
    <!-- #################### -->

    Da war ein div zuviel und es fehlte die Abfrage, wenn der Fullcontent angezeigt wird, dass dann div id="col_full" verwendet werden soll, also ein anderer Style (width="100%").

    BG kgd

    sandro22

    • Viel Schreiber
    • Beiträge: 589
    • Geschlecht:
    Re: Grösse der Versandoptionen anpassen?
    Antwort #18 am: 25. Mai 2017, 00:10:54
    Ok ich danke dir.
    15 Antworten
    13569 Aufrufe
    28. Mai 2011, 16:14:30 von Tomcraft
    11 Antworten
    5658 Aufrufe
    15. Februar 2012, 00:14:02 von noRiddle (revilonetz)
    1 Antworten
    2158 Aufrufe
    08. April 2013, 15:38:00 von DokuMan
    25 Antworten
    9903 Aufrufe
    09. Dezember 2011, 23:55:06 von Tomcraft