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: Product Tab in der Beschreibung ist nicht mehr da bzw. sieht anders aus...

    digiti09

    • Neu im Forum
    • Beiträge: 22
    Hallöchen!

    Nach dem Einbau mehrerer Addons ist mir in der Beschreibungs-Seite aufgelfallen, dass das Design der product_info_tabs_v1.html auf einmal anders aussieht.

    An der Datei product_info_tabs_v1.html kann es nicht liegen, da wurde nichts geändert, ist sowas einem schonmal passiert?

    Was kann die Ursache sein? CSS oder sowas in der Art (Bin Neuling, nicht schlagen) Die anderen beiden Vorlagen funktionieren ganz normal...

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

    noRiddle (revilonetz)

    • Experte
    • Beiträge: 13.990
    • Geschlecht:
    Hallo digiti09.
    Ein Link wäre nicht schlecht.
    Das sieht aus als wenn die entsprechende Javascript-datei nicht geladen wird (/templates/DEIN_TEMPLATE/javascript/jquery-ui.js).

    Hast du Änderungen an der /templates/DEIN_TEMPLATE/javascript/general.js.php[/i]  vorgenommen ?

    Gruß,
    noRiddle

    digiti09

    • Neu im Forum
    • Beiträge: 22


    Ja, Änderungen wurden vorgenommen...

    hier ist der Inhalt:

    Code: PHP  [Auswählen]
    <?php
    /* -----------------------------------------------------------------------------------------
       $Id: general.js.php 1262 2005-09-30 10:00:32Z mz $

       XT-Commerce - community made shopping
       http://www.(( Wir dulden keine kommerziellen Werbelinks - Bitte Forenregeln beachten! ))

       Copyright (c) 2003 XT-Commerce
       -----------------------------------------------------------------------------------------
       Released under the GNU General Public License
       ---------------------------------------------------------------------------------------*/



       // this javascriptfile get includes at the BOTTOM of every template page in shop
       // you can add your template specific js scripts here
    ?>
    <script src="<?php echo 'templates/'.CURRENT_TEMPLATE; ?>/javascript/jquery.js" type="text/javascript"></script>
    <script src="<?php echo 'templates/'.CURRENT_TEMPLATE; ?>/javascript/thickbox.js" type="text/javascript"></script>

    <!-- BOF - <Ben - 16.09.10> jquery sources für tabs einbinden auf Content Seiten-->
    <?php if (strstr($PHP_SELF, FILENAME_CONTENT )) { // lädt die Dateien nur auf
    ContentSeiten ?>
    <link rel="stylesheet" href="<?php echo 'templates/'.CURRENT_TEMPLATE;
    ?>/javascript/jquery-ui.css" type="text/css" />
    <script src="<?php echo 'templates/'.CURRENT_TEMPLATE; ?>/javascript/jquery.min.js"
    type="text/javascript"></script>
    <script src="<?php echo 'templates/'.CURRENT_TEMPLATE; ?>/javascript/jqueryui.
    min.js" type="text/javascript"></script>
    <?php
    }
    ?>
    <!-- EOF - <Ben - 16.09.10> jquery sources für tabs einbinden -->


    <!--// BOF - web28 - 2010-07-09 - TABS/ACCORDION in product_info -->
    <?php
    if (strstr($PHP_SELF, FILENAME_PRODUCT_INFO ) || strstr($PHP_SELF, FILENAME_CONTENT
    )) {
    ?>

    <script src="<?php echo 'templates/'.CURRENT_TEMPLATE; ?>/javascript/jquery-ui.js" type="text/javascript"></script>
    <script type="text/javascript">
    /* <![CDATA[ */
            //Laden einer CSS Datei mit jquery     
        $.get("<?php echo 'templates/'.CURRENT_TEMPLATE; ?>"+"/css/javascript.css", function(css) {
                    $("head").append("<style type='text/css'>"+css+"<\/style>");
            });
           
            $(function() {
                    $("#tabbed_product_info").tabs();
                    $("#accordion_product_info").accordion({ autoHeight: false });
            });
    /*]]>*/
    </script>


    <script src="templates/<?php echo CURRENT_TEMPLATE; ?>/javascript/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="templates/<?php echo CURRENT_TEMPLATE; ?>/javascript/accordion.js" type="text/javascript"></script>
    <script type="text/javascript">
            <!--
                    ddaccordion.init({
                            headerclass: "cat_titel", //Shared CSS class name of headers group that are expandable
                            contentclass: "cat_items", //Shared CSS class name of contents group
                            revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click" or "mouseover
                            mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
                            collapseprev: true, //Collapse previous content (so only one open at any time)? true/false
                            defaultexpanded: [], //index of content(s) open by default [index1, index2, etc]. [] denotes no content
                            onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
                            animatedefault: false, //Should contents open by default be animated into view?
                            persiststate: true, //persist state of opened contents within browser session?
                            toggleclass: ["", "cat_active"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
                            togglehtml: ["", "", ""], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
                            animatespeed: "slow", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
                            oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
                            },
                            onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
                                    //do nothing
                            }
                    });
            //-->
    </script>

    <!-- BOF - <Ben - 16.09.10> jquery tabs aktivate -->
    <script type="text/javascript">
    $(document).ready(function() {
    $("#tabs").tabs();
    });
    </script>
    <!-- EOF - <Ben - 16.09.10> jquery tabs aktivate -->

    <?php
    }
    ?>
    <?php// EOF - web28 - 2010-07-09 - TABS/ACCORDION in product_info ?>





    <!-- Accordion -->
    <script src="<?php echo 'templates/'.CURRENT_TEMPLATE; ?>/javascript/jquery.cookie.js" type="text/javascript"></script>
    <script src="<?php echo 'templates/'.CURRENT_TEMPLATE; ?>/jquery.hoverIntent.minified.js" type="text/javascript"></script>
    <script src="<?php echo 'templates/'.CURRENT_TEMPLATE; ?>/javascript/jquery.dcjqaccordion.2.7.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(document).ready(function($){
                                            $('#accordion-1').dcAccordion({
                                                    eventType: 'click',
                                                    autoClose: true,
                                                    saveState: true,
                                                    disableLink: true,
                                                    speed: 'slow',
                                                    showCount: true,
                                                    autoExpand: true,
                                                    cookie  : 'dcjq-accordion-1',
                                                    classExpand      : 'dcjq-current-parent'
                                            });
                                            $('#accordion-2').dcAccordion({
                                                    eventType: 'click',
                                                    autoClose: false,
                                                    saveState: true,
                                                    disableLink: true,
                                                    speed: 'fast',
                                                    classActive: 'test',
                                                    showCount: true
                                            });
                                            $('#accordion-3').dcAccordion({
                                                    eventType: 'click',
                                                    autoClose: false,
                                                    saveState: false,
                                                    disableLink: false,
                                                    showCount: false,
                                                    speed: 'slow'
                                            });
                                            $('#accordion-4').dcAccordion({
                                                    eventType: 'hover',
                                                    autoClose: true,
                                                    saveState: true,
                                                    disableLink: true,
                                                    menuClose: false,
                                                    speed: 'slow',
                                                    showCount: true
                                            });
                                            $('#accordion-5').dcAccordion({
                                                    eventType: 'hover',
                                                    autoClose: false,
                                                    saveState: true,
                                                    disableLink: true,
                                                    menuClose: true,
                                                    speed: 'fast',
                                                    showCount: true
                                            });
                                            $('#accordion-6').dcAccordion({
                                                    eventType: 'hover',
                                                    autoClose: false,
                                                    saveState: false,
                                                    disableLink: false,
                                                    showCount: false,
                                                    menuClose: true,
                                                    speed: 'slow'
                                            });
    });
    </script>
    <!-- Accordion -->





     

    digiti09

    • Neu im Forum
    • Beiträge: 22
    Danke für deinen Hinweis, es wurde der Bereich ab

     ".....ddaccordion.init({....."

    mal kurz entfernt, dann ging wieder alles, werde mal schauen, welches Addon das ist und dann evtl rausschmeissen....

    noRiddle (revilonetz)

    • Experte
    • Beiträge: 13.990
    • Geschlecht:
    Hier mal ein Screenshot der Fehlermeldungen der Firebug-Konsole.
    [ Für Gäste sind keine Dateianhänge sichtbar ]

    Deine general.js.php ist Tohuwabohu.
    Was wolltest du denn da alles einbauen ?
    Zwei jQuery-Basis-Dateien, zwei jquery-ui.js-Dateien ....

    Das zu entwirren ist mir momentan zu viel Arbeit, da müsste man genau wissen was du einbauen wolltest und wo.

    Gruß,
    noRiddle

    digiti09

    • Neu im Forum
    • Beiträge: 22
    uuppsss!

    Ok, ich hab dann mal was zu tun....

    Ich danke dir dafür !

    ........

    OK, hab's gefunden, der Abschnitt stammt aus dem Addon "Produkt Filter Lite v1.1", würde ich ja gerne behalten.......
    3 Antworten
    1638 Aufrufe
    01. August 2019, 07:35:25 von fishnet
    2 Antworten
    1989 Aufrufe
    09. November 2017, 20:06:56 von longchuan
    8 Antworten
    3374 Aufrufe
    10. Juli 2010, 00:40:06 von Haketing
    10 Antworten
    5267 Aufrufe
    28. August 2012, 08:58:21 von Nessy