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: Startseite contentfull !!!

    Matt

    • Experte
    • Beiträge: 4.241
    Re: Startseite contentfull !!!
    Antwort #45 am: 17. April 2012, 07:40:10
    [/code]Mein Beispiel:
    Code: XML  [Auswählen]
    {if $smarty.const.HOME=="home"}<div id="wrap" class="contentfull">{else}<div id="wrap">{/if}

    Dein Beispiel:
    Code: XML  [Auswählen]
    {if $smarty.const.IS_START==true}<div id="wrap" class="contentfull">{else}<div id="wrap">{/if}

    Mit ID geht's nicht, außer du ersetzt eine bestehende ID durch deine neue (z.B. wrap). Muss dann aber halt auch im CSS berücksichtigt werden.

    hedon02

    • Viel Schreiber
    • Beiträge: 618
    Re: Startseite contentfull !!!
    Antwort #46 am: 17. April 2012, 09:50:58
    Warum nehmt Ihr nicht die Variante aus dem Trunk?

    source/boxes.php:
    Code: PHP  [Auswählen]
    $smarty->assign('home', strpos($PHP_SELF, 'index')!==false && !isset($_GET['cPath']) && !isset($_GET['manufacturers_id']) ? 1 : 0);


    https://trac.modified-shop.org/changeset/2664


    Gruesse

    xxhappyxx

    • Viel Schreiber
    • Beiträge: 829
    • Geschlecht:
    Re: Startseite contentfull !!!
    Antwort #47 am: 17. April 2012, 21:13:25
    Hallo Mat,

    danke für deine Hilfe. Ich habe es nun auf die Reihe bekommen.

    Gruß Thomas
    10 Antworten
    3461 Aufrufe
    16. November 2010, 02:52:40 von Markus
    10 Antworten
    7443 Aufrufe
    17. August 2011, 17:48:39 von Tomcraft
               
    anything