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: Breite der Kategorie Bilder

    mafa84

    • Neu im Forum
    • Beiträge: 34
    Breite der Kategorie Bilder
    am: 09. April 2013, 08:34:19
    Hallo,

    meine Kategorie Bilder ragen aus der Mitte über das rechte Menü hinaus. Weiß jemand wo ich die Breite definieren kann?

    Danke.

    Linkback: https://www.modified-shop.org/forum/index.php?topic=25701.0

    Ben Tanabe

    • Mitglied
    • Beiträge: 164
    Re: Breite der Kategorie Bilder
    Antwort #1 am: 09. April 2013, 09:07:38
    Guten Morgen.

    Die alte Datei vorher zur Sicherheit kopieren !

    Hier bearbeiten:
    Templates   
    /module
    /categorie_listing

    modules   categorie_listing   {if $module_data.CATEGORIES_IMAGE}<a href="{$module_data.CATEGORIES_LINK}"><img src="{$module_data.CATEGORIES_IMAGE}" ergänzt um width="xx"

    xx ist die gewünschte Breite vom Bild.

    Gruss
    Claus

    mafa84

    • Neu im Forum
    • Beiträge: 34
    Re: Breite der Kategorie Bilder
    Antwort #2 am: 09. April 2013, 09:20:26
    Danke für die Antwort, aber die Breite der Bilder scheint ok zu sein, ich muss die css Datei ändern?! Mit einem anderen Template klappt die Darstellung mit den gleichen Bildern.

    jannemann

    • modified Team
    • Beiträge: 6.275
    • Geschlecht:
    Re: Breite der Kategorie Bilder
    Antwort #3 am: 09. April 2013, 09:27:44
    Hallo marc84,

    wie lautet denn der Link zum Shop?
    Ohne sich das näher anschauen zu können kann man nur im dunklen stochern.

    Schöne Grüße,
    Jan

    mafa84

    • Neu im Forum
    • Beiträge: 34
    Re: Breite der Kategorie Bilder
    Antwort #4 am: 09. April 2013, 09:28:52

    jannemann

    • modified Team
    • Beiträge: 6.275
    • Geschlecht:
    Re: Breite der Kategorie Bilder
    Antwort #5 am: 09. April 2013, 09:37:29
    Warum hast du den Backlink zu uns entfernt?

    mafa84

    • Neu im Forum
    • Beiträge: 34
    Re: Breite der Kategorie Bilder
    Antwort #6 am: 09. April 2013, 09:42:11
    welchen link? habe doch alles so gelassen, habe nur im footer links eingefügt.

    Torsten hat mir eine super Hilfestellung gegeben und mir gesagt in der index.html kann ich die Social Media Sachen weg machen. Das habe ich gemacht und Links eingefügt:

    Code: PHP  [Auswählen]
    {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">
                    <div>
                            <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></div>
            </div>
                     </div>

    jannemann

    • modified Team
    • Beiträge: 6.275
    • Geschlecht:
    Re: Breite der Kategorie Bilder
    Antwort #7 am: 09. April 2013, 09:54:58
    Den Link im Footer.
    Deine Kategoriebilder sind zu groß. Diese musst du verkleinern und dann noch mal der Kategorie zuweisen.

    Schöne Grüße,
    Jan

    mafa84

    • Neu im Forum
    • Beiträge: 34
    Re: Breite der Kategorie Bilder
    Antwort #8 am: 09. April 2013, 09:58:10
    Hier ist die Original Template index.html Datei, was muss ich denn in meine kopieren?

    Code: PHP  [Auswählen]
    {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_INFORMATION}{$box_LAST_VIEWED}{$box_REVIEWS}{$box_SPECIALS}{$box_WHATSNEW}</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_ADMIN}{$box_NEWSLETTER}{$box_BESTSELLERS}{$box_INFOBOX}{$box_CURRENCIES}{$box_MANUFACTURERS_INFO}{$box_MANUFACTURERS}</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">
              <div class="col1_4">
                    <h1>Social Media</h1>
                    <a href="http://twitter.com/{$store_name}" target="_blank"><img src="{$tpl_path}img/twitter.png" alt="{$store_name} auf Twitter" title="{$store_name} auf Twitter" /></a>
                    <a href="http://facebook.com/{$store_name}" target="_blank"><img src="{$tpl_path}img/facebook.png" alt="{$store_name} auf Facebook" title="{$store_name} auf Facebook" /></a>
              </div>
              <div class="col1_4">
                    {$box_INFORMATION}
              </div>
              <div class="col1_4">
                    {$box_CONTENT}
              </div>
              <div class="col4_4">
                    <h1>Blog</h1>
                    <p>Ab sofort als Zusatzmodul.</p>
              </div>
            </div>
    </div>

    Tomcraft

    • modified Team
    • Gravatar
    • Beiträge: 46.369
    • Geschlecht:
    Re: Breite der Kategorie Bilder
    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:

    Code: PHP  [Auswählen]
            <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:

    Code: PHP  [Auswählen]
            <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":

    Code: PHP  [Auswählen]
    {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
    rechtstexte für onlineshop
    2 Antworten
    4106 Aufrufe
    28. Juni 2011, 07:27:10 von Tomcraft
    5 Antworten
    9474 Aufrufe
    07. November 2013, 15:02:17 von Bonner
    9 Antworten
    3371 Aufrufe
    18. Mai 2009, 06:20:51 von chris030