rechtstexte für onlineshop
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: Productlisting als Textlinks in anderem DIV

    jumpmore

    • Neu im Forum
    • Beiträge: 41
    Productlisting als Textlinks in anderem DIV
    Antwort #15 am: 05. April 2011, 14:54:48
    soory, aber was hältst Du von folgendem?
    Es gibt sicherlich noch etwas eleganteres, aber für's Erste müsste es so oder etwas anders ;-) funktionieren:

    index.html:

    Code: PHP  [Auswählen]
            ...
            {if $smarty.get.cPath==null}    // Ab hier schneid ich raus
            {$main_content}
            </div>
            {if !strstr ($smarty.server.PHP_SELF, 'checkout')}
                {if strstr ($smarty.server.PHP_SELF, 'index')}
                    <div id="rightcol">{$box_CART}{$box_LOGIN}{$box_ADMIN}</div>
                {/if}
            {/if}

        </div>
        <div id="footerwrap">
            {$box_CATEGORIES}
        </div>
        {else}
    </div>
    {if !strstr ($smarty.server.PHP_SELF, 'checkout')}
        {if $smarty.get.cPath==null}
            {if strstr ($smarty.server.PHP_SELF, 'index')}
                <div id="rightcol">{$box_CART}{$box_LOGIN}{$box_ADMIN}</div>
            {/if}
        {/if}
    {/if}
    </div>
    <div id="footerwrap">
        {$box_CATEGORIES}
    </div>
    {$main_content}
        {/if}
    </div>
    product_listing_v1.html:

    Code: PHP  [Auswählen]
    {config_load file="$language/lang_$language.conf" section="index"}

    <div id="productwrap">
        <table class="productPreview" width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                {foreach name=aussen item=module_data from=$module_content}
                <td align="center" class="#">
                    <a href="{$module_data.PRODUCTS_LINK}">{$module_data.PRODUCTS_NAME}</a>
                </td>
                {/foreach}
            </tr>
        </table>
    </div>
    VG Elke

    h4r4ld

    • Neu im Forum
    • Beiträge: 14
    Productlisting als Textlinks in anderem DIV
    Antwort #16 am: 05. April 2011, 15:07:48
    Das klappt so schon recht gut. Recht herzlichen dank dafür. :)

    Jetzt muss noch die Produktauswahl angezeigt werden, wenn die Artikeldetails offen sind. ;)

    jumpmore

    • Neu im Forum
    • Beiträge: 41
    Productlisting als Textlinks in anderem DIV
    Antwort #17 am: 05. April 2011, 18:35:52
    Ersteres freut mich natürlich... :-)
    ...und für Letzteres wünsche ich Dir viel Erfolg.

    VG Elke

    h4r4ld

    • Neu im Forum
    • Beiträge: 14
    Productlisting als Textlinks in anderem DIV
    Antwort #18 am: 06. April 2011, 07:24:14
    Danke. :)

    Mit der Vorlage, die du mir geliefert hast, sollte es ja nun nicht mehr so schwer werden. :)

    3 Antworten
    2654 Aufrufe
    10. Mai 2010, 18:29:18 von e-moves
    2 Antworten
    3567 Aufrufe
    02. März 2011, 18:41:45 von Tomcraft
    0 Antworten
    1651 Aufrufe
    04. Dezember 2012, 19:05:46 von Hannibal
    4 Antworten
    2284 Aufrufe
    21. August 2010, 19:25:17 von guensi
               
    anything