Shop Hosting
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: ANLEITUNG: Einbau geteilte Navigation von gunnART

    eddyexp

    • Mitglied
    • Beiträge: 116
    Re: ANLEITUNG: Einbau geteilte Navigation von gunnART
    Antwort #60 am: 11. November 2012, 12:02:43
    wegen dem suchen-feld....ansonsten könntest ja ne 100% machen und fertig ^^

    Achja 700px ist zu breit.

    Es geht mit

    Code: CSS  [Auswählen]
    #topmenu {
        float:left;
        padding:0;
        margin:0;
        list-style-type:none;
        height:36px;
        font-size:12px;
        background:url(img/bg_topmenu.gif) repeat-x;
        width:600px;
        }

    Ansonsten ganz wichtig die Template-Cache im Admin leeren.

    Grüße
    Eddy

    twe

    • Schreiberling
    • Beiträge: 293
    • Geschlecht:
    Re: ANLEITUNG: Einbau geteilte Navigation von gunnART
    Antwort #61 am: 11. November 2012, 12:04:09
    Schon mal Browsercache gelöscht? bei mir sieht es gut aus und Firebug zeigt mir das an

    Code: CSS  [Auswählen]
    #topmenu {
        background: url("img/bg_topmenu.gif") repeat-x scroll 0 0 transparent;
        float: left;
        font-size: 12px;
        height: 36px;
        list-style-type: none;
        margin: 0;
        padding: 0;
        width: 700px;
    }

    NMWorkwear

    • Mitglied
    • Beiträge: 114
    Re: ANLEITUNG: Einbau geteilte Navigation von gunnART
    Antwort #62 am: 11. November 2012, 12:42:59
    Es geht..... Der liebe Verlauf in Firefox! Jetzt zeigt er mir auch alles an!

    Vielen Dank für eure Hilfe!

    NMWorkwear

    • Mitglied
    • Beiträge: 114
    Re: ANLEITUNG: Einbau geteilte Navigation von gunnART
    Antwort #63 am: 13. November 2012, 18:20:33
    Hallo Gemeinde,

    wie schon in meinem vorigem Beitrag erwähnt, habe ich mir das Modul erfolgreich eingebaut! Jetzt würde ich den Quelltext noch gerne valide haben. Der w3c html validator spuckt mir als Fehler aus:

    Line 507, Column 45: document type does not allow element "div" here; assuming missing "li" start-tag

    <div class="Box" id="TopCategories"

    Kann mir einer sagen, wie ich den Code valide bekomme.
    Ich denke es liegt an dem Eintrag in der index.html

    Code: PHP  [Auswählen]
    <div id="topmenuwrap">
            <ul id="topmenu">
                    {$top_CATEGORIES}
            </ul>

    Müsste da nicht statt <ul> <li> eingragen werden?????

    Danke schon mal vorab für eure Antworten.

    twe

    • Schreiberling
    • Beiträge: 293
    • Geschlecht:
    Re: ANLEITUNG: Einbau geteilte Navigation von gunnART
    Antwort #64 am: 13. November 2012, 19:04:22
    Ich denke eher dass das <div> statt einem erwarteten <li> kommt. dein Ausschnitt aus dem Code ist aber zu kurz um zu sehen wo das <li> fehlt.

    NMWorkwear

    • Mitglied
    • Beiträge: 114
    Re: ANLEITUNG: Einbau geteilte Navigation von gunnART
    Antwort #65 am: 13. November 2012, 19:14:57
    Danke für Deine Antwort! Ich dachte der Ausschnitt reicht, da ich den Fehler erst nach Einbau der geteilten Navigation habe. Aber ..... kein Problem, hierommt der Rest:

    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/spacer.gif" width="400" alt="{$store_name}" /></div>
            <div id="headermenu">  
                <ul>
                    {if $account}
                            <li><a href="{$index}">{#link_index#}</a></li>
                   <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>
            <div id="cart">{$box_CART}</div>
        </div>
        <div id="topmenuwrap">
            <ul id="topmenu">
                    {$top_CATEGORIES}
            </ul>
            <div id="languages">{$box_LANGUAGES}</div>
            <div id="search">{$box_SEARCH}</div>
        </div>
        <div id="breadcrumb">{$navtrail}</div>
        <div id="contentwrap"> {if !strstr ($smarty.server.PHP_SELF, 'checkout')}
            <div id="leftcol">{$sub_CATEGORIES}{*$box_CART*}{$box_ADMIN}{*$box_CATEGORIES*}{*$box_ADD_QUICKIE*}{*$box_MANUFACTURERS*}{*$box_CONTENT*}{*$box_INFORMATION*}{$box_REVIEWS}{$box_SPECIALS}{$box_BESTSELLERS}</div>
            {/if}
            <div
                    {if !strstr ($smarty.server.PHP_SELF, 'checkout')}
                            id="content"
            {else}
                            id="contentfull"
                    {/if}
                     >
            {if strstr ($smarty.server.PHP_SELF, 'index')}
                {if $smarty.get.cPath==null and $smarty.get.manufacturers_id==''}
                     {if $BANNER}{$BANNER}{/if}
               {/if}
            {/if}
            {$main_content}</div>
        {if !strstr ($smarty.server.PHP_SELF, 'checkout')}
        <div id="rightcol">{*$box_LOGIN*}{*$box_NEWSLETTER*}{*$box_INFOBOX*}{*$box_CURRENCIES*}{*$box_MANUFACTURERS_INFO*}{*$box_LAST_VIEWED*}</div>
        {/if} </div>
    <div class="abstand"></div>
    <div id="bottom">
      <div class="bottom-divs">
        <!-- Bottom Left -->
        <div id="bottom-left">
          {$box_CONTENT}
        </div>
        <!-- Bottom Mid -->
        <div id="bottom-mid">
          {$box_INFORMATION}
        </div>
        <!-- Bottom Mid -->
        <div id="bottom-mid">
          {$box_NEWSLETTER}
        </div>
        <!-- Bottom Right -->
        <div id="bottom-right">
          {$box_CONTENT_RECHTSA}
        </div>
      </div>
    </div>
    <p class="footer">{$smarty.const.TITLE} &copy; {$smarty.now|date_format:"%Y"} | Template &copy; 2009 by modified eCommerce Shopsoftware eCommerce Shopsoftware</p>
    </div>
    <a id="sys_contact" target="_self" href="{php}echo xtc_href_link(FILENAME_CONTENT, 'coID=7', 'NONSSL');{/php}" title="Kontakt"> </a>
    <a id="sys_facebook" target="_blank" href="http://de-de.facebook.com/NMWorkwear" title="Facebook"> </a>
    <a id="sys_googleplus" target="_blank" href="http://plus.google.com/113205653895132781302" title="Google+"> </a>
    <a id="sys_twitter" target="_blank" href="http://twitter.com/NMWorkwear" title="Twitter"> </a>

    twe

    • Schreiberling
    • Beiträge: 293
    • Geschlecht:
    Re: ANLEITUNG: Einbau geteilte Navigation von gunnART
    Antwort #66 am: 13. November 2012, 19:44:12
    was kommt nach <ul id="topmenu"> ?

    wenn da <div class="Box" id="TopCategories"> folgt ist es falsch, da es hier mit <li> weitergehen sollte

    NMWorkwear

    • Mitglied
    • Beiträge: 114
    Re: ANLEITUNG: Einbau geteilte Navigation von gunnART
    Antwort #67 am: 13. November 2012, 19:58:13
    ???? Nach <ul> kommt: <ul id="topmenu">{$top_CATEGORIES}</ul>!
    Habe ich doch im vorige Beitrag angegeben.????

    Das ist aber auch so in der Installationsanleitung angegeben! (Siehe Beitrag 1)!
    Der Einbau hat genau nach PDF Anleitung stattgefunden!

    twe

    • Schreiberling
    • Beiträge: 293
    • Geschlecht:
    ANLEITUNG: Einbau geteilte Navigation von gunnART
    Antwort #68 am: 13. November 2012, 20:13:47
    Und was siehst du im Quelltext der Seite an der Stelle von {top_CATEGORIES} ?

    NMWorkwear

    • Mitglied
    • Beiträge: 114
    Re: ANLEITUNG: Einbau geteilte Navigation von gunnART
    Antwort #69 am: 13. November 2012, 21:05:43
    Ich sehe nat. <div class="Box" id="TopCategories">!
    Warum:
    Weil der Befehl
    Code: PHP  [Auswählen]
    <ul id="topmenu">{$top_CATEGORIES}</ul>
    auf die top_categories.html zugreift die wie folgt lautet:
    Code: PHP  [Auswählen]
    {if $BOX_CONTENT}
    <div class="Box" id="TopCategories">
    {$BOX_CONTENT}
    </div>
    {/if}

    Daher auch der andere Quelltext wenn ich mir die seite live anschaue!

    NMWorkwear

    • Mitglied
    • Beiträge: 114
    Re: ANLEITUNG: Einbau geteilte Navigation von gunnART
    Antwort #70 am: 13. November 2012, 21:20:05
    Ich habs!

    Eventuell im Beitrag 1 ändern bzw. anfügen!

    Um den Quellcode valide zu halten bitte folgende Änderung durchführen:

    Die index.html im Template Ordner wie folgt anpassen:
    Code: PHP  [Auswählen]
    <div id="topmenuwrap">
            <div id="topmenu">
                    {$top_CATEGORIES}
            </div>

    Achtung – id=“topmenuwrap und id=“topmenu" haben in der Anleitung die Bezeichnung
    "topnaviwrap" und "topnavi"

    Gruß
    NMWorkwear

    TackleBase

    • Neu im Forum
    • Beiträge: 35
    • Geschlecht:
    Re: ANLEITUNG: Einbau geteilte Navigation von gunnART
    Antwort #71 am: 03. Januar 2013, 15:28:58
    Alle Forum Gemeinde,

    habe folgendes Problem mit dem Modul es war alles schon von Haus aus bei dem Teamplate wo ich heruntergeladen habe eingebaut nur nicht aktiv bin schon ab verzweifeln das Modul in Gang zu bekommen wen ich {$sub_CATEGORIES}an gewünschter stelle einfüge passiert überhaupt nichts.
    Habe auch schon alle Dateien eingebaut wie in der Beschreibung da habe ich auch schon festgestellt das es alles schon vorhanden ist bekomme es aber  einfach nicht hin.
    Mein Shop: www.tackle-base.de
    Ich verwende modified eCommerce Shopsoftware 1.05 SP1b
    Kan mir Jemad weiter helfen?

    xeron

    • Schreiberling
    • Beiträge: 497
    • Geschlecht:
    Re: ANLEITUNG: Einbau geteilte Navigation von gunnART
    Antwort #72 am: 03. Januar 2013, 15:45:59
    Hi,

    hast Du auch in den Dateien DeinTemplate/source/top_categories und sub_categories die Einstellungen angepaßt?

    Grüße
    André

    TackleBase

    • Neu im Forum
    • Beiträge: 35
    • Geschlecht:
    Re: ANLEITUNG: Einbau geteilte Navigation von gunnART
    Antwort #73 am: 03. Januar 2013, 16:45:53
    So sehen sie bei mir aus

    sub_categories.php

    Code: PHP  [Auswählen]
    <?php

    /*
    // ------------------------------------------------------------------------------------------
            $Id sub_categories.php ("Slim Categories")
           
            Copyright (c) 2008 Gunnar Tillmann / http://www.gunnart.de
    // ------------------------------------------------------------------------------------------
            fully rewritten, formerly based on:
            (c) 2000-2001 The Exchange Project (earlier name of osCommerce)
            (c) 2002-2003 osCommerce (categories.php, v1.23 2002/11/12); www.oscommerce.com
            (c) 2003 nextcommerce (categories.php, v1.10 2003/08/17); www.nextcommerce.org
            (c) 2005 xt:Commerce (categories.php, v1.302 2005/10/12); www.(( Wir dulden keine kommerziellen Werbelinks - Bitte <a href="index.php?topic=3013.0">Forenregeln</a> beachten! ))
           
            Released under the GNU General Public License
    // ------------------------------------------------------------------------------------------
            Third Party contributions:
            Enable_Disable_Categories 1.3
            Autor: Mikel Williams | mikel@ladykatcostumes.com
           
            Released under the GNU General Public License
    // ------------------------------------------------------------------------------------------
    */


            $box_smarty = new smarty;

    // ------------------------------------------------------------------------------------------
    // Cache-ID setzen
    // ------------------------------------------------------------------------------------------
            if(!CacheCheck() && !FORCE_CACHE) {
                    $cache=false;
                    $box_smarty->caching = 0;
            } else {
                    $cache=true;
                    $box_smarty->caching = 1;
                    $box_smarty->cache_lifetime = CACHE_LIFETIME;
                    $box_smarty->cache_modified_check = CACHE_CHECK;
                    $cache_id = $_SESSION['language'].$_SESSION['customers_status']['customers_status_id'].$cPath;
            }
    // ------------------------------------------------------------------------------------------


    // ------------------------------------------------------------------------------------------
    //      Das alles braucht nur dann ausgeführt zu werden, wenn noch keine gecachtes
    //      HTML-File vorliegt
    // ------------------------------------------------------------------------------------------
            if(!$box_smarty->is_cached(CURRENT_TEMPLATE.'/boxes/sub_categories.html',$cache_id) || !$cache) {
                   
                    require_once (DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/source/inc/gunnart_Categories.inc.php');
                    $SubConfig = array(
                            'MinLevel'              =>      1,
                            'MaxLevel'              =>      false,
                            'HideEmpty'             =>      false,
                            'ShowCounts'    =>      false,
                            'CatNaviID'             =>      'SubNavi'
                    );
                    if(is_array($cPath_array)) {
                            $box_smarty->assign('BOX_CONTENT',gunnartCategories($cPath_array[0],1,$SubConfig));
                    } /*else {
                            $box_smarty->assign('BOX_CONTENT',gunnartCategories(0,1,$SubConfig));
                    }*/

                    $box_smarty->assign('language',$_SESSION['language']);
                    $box_smarty->assign('tpl_path','templates/'.CURRENT_TEMPLATE.'/');


            }
    // ------------------------------------------------------------------------------------------


    // ------------------------------------------------------------------------------------------
    //      Ausgabe ans Template
    // ------------------------------------------------------------------------------------------
            if(!$cache) {
                    $sub_categories = $box_smarty->fetch(CURRENT_TEMPLATE.'/boxes/sub_categories.html');
            } else {
                    $sub_categories = $box_smarty->fetch(CURRENT_TEMPLATE.'/boxes/sub_categories.html',$cache_id);
            }
            $smarty->assign('sub_CATEGORIES',$sub_categories);
    // ------------------------------------------------------------------------------------------

    ?>

    top_categories.php

    Code: PHP  [Auswählen]
    <?php

    /*
    // ------------------------------------------------------------------------------------------
            $Id top_categories.php ("Slim Categories")
           
            Copyright (c) 2008 Gunnar Tillmann / http://www.gunnart.de
    // ------------------------------------------------------------------------------------------
            fully rewritten, formerly based on:
            (c) 2000-2001 The Exchange Project (earlier name of osCommerce)
            (c) 2002-2003 osCommerce (categories.php, v1.23 2002/11/12); www.oscommerce.com
            (c) 2003 nextcommerce (categories.php, v1.10 2003/08/17); www.nextcommerce.org
            (c) 2005 xt:Commerce (categories.php, v1.302 2005/10/12); www.(( Wir dulden keine kommerziellen Werbelinks - Bitte <a href="index.php?topic=3013.0">Forenregeln</a> beachten! ))
           
            Released under the GNU General Public License
    // ------------------------------------------------------------------------------------------
            Third Party contributions:
            Enable_Disable_Categories 1.3
            Autor: Mikel Williams | mikel@ladykatcostumes.com
           
            Released under the GNU General Public License
    // ------------------------------------------------------------------------------------------
    */


            $box_smarty = new smarty;

    // ------------------------------------------------------------------------------------------
    // Cache-ID setzen
    // ------------------------------------------------------------------------------------------
            if(!CacheCheck() && !FORCE_CACHE) {
                    $cache=false;
                    $box_smarty->caching = 0;
            } else {
                    $cache=true;
                    $box_smarty->caching = 1;
                    $box_smarty->cache_lifetime = CACHE_LIFETIME;
                    $box_smarty->cache_modified_check = CACHE_CHECK;
                    $cache_id = $_SESSION['language'].$_SESSION['customers_status']['customers_status_id'].$cPath;
            }
    // ------------------------------------------------------------------------------------------


    // ------------------------------------------------------------------------------------------
    //      Das alles braucht nur dann ausgeführt zu werden, wenn noch keine gecachtes
    //      HTML-File vorliegt
    // ------------------------------------------------------------------------------------------
            if(!$box_smarty->is_cached(CURRENT_TEMPLATE.'/boxes/top_categories.html',$cache_id) || !$cache) {
                   
                    require_once (DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/source/inc/gunnart_Categories.inc.php');
                    $TopConfig = array(
                            'MinLevel'              =>      3,
                            'MaxLevel'              =>      false,
                            'HideEmpty'             =>      false,
                            'ShowCounts'    =>      false,
                            'CatNaviID'             =>      'categorymenu'
                    );
                    $box_smarty->assign('language',$_SESSION['language']);
                    $box_smarty->assign('tpl_path','templates/'.CURRENT_TEMPLATE.'/');
                    $box_smarty->assign('BOX_CONTENT',gunnartCategories(0,1,$TopConfig));

            }
    // ------------------------------------------------------------------------------------------


    // ------------------------------------------------------------------------------------------
    //      Ausgabe ans Template
    // ------------------------------------------------------------------------------------------
            if(!$cache) {
                    $top_categories = $box_smarty->fetch(CURRENT_TEMPLATE.'/boxes/top_categories.html');
            } else {
                    $top_categories = $box_smarty->fetch(CURRENT_TEMPLATE.'/boxes/top_categories.html',$cache_id);
            }
            $smarty->assign('top_CATEGORIES',$top_categories);
    // ------------------------------------------------------------------------------------------

    ?>

    xeron

    • Schreiberling
    • Beiträge: 497
    • Geschlecht:
    Re: ANLEITUNG: Einbau geteilte Navigation von gunnART
    Antwort #74 am: 03. Januar 2013, 16:48:31
    und die jetzige Navigation da wo bei Dir auf der Seite Produkte steht ist die von Gunnart oder ist da noch was anderes verbaut. Superfish?

    Zeig mal Deine index.html
    Werbung / Banner buchen