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: Modul Faxversand

    lullifatz

    • Fördermitglied
    • Beiträge: 474
    Modul Faxversand
    am: 16. Januar 2013, 21:36:25
    Das Modul Faxversand ist für mich sehr interessant. Leider habe ich ein Problem beim Einbau. Es liegt offensichtlich am Javascript.

    Die Anleitung sagt ich soll folgenden Befehl in die templates/meintemplate/javascript/general.js.php einfügen:

       
    Code: Javascript  [Auswählen]
    function newWinOpen(url, name, param)
            {
                    param_base = 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,screenX=150,screenY=150,top=150,left=150';
                    winHandle = this.open(url, name, param_base + param);
                    winHandle.focus();
                    if(winHandle.opener==null)
                    {
                            winHandle.opener=self;
                    }

                    //return false;
            }

    Leider öffnet sich das Fenster nicht. Hat jemand eine Idee?

    [EDIT jannemann - 16.01.2012: Code richtig formatiert]

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

    jannemann

    • modified Team
    • Beiträge: 6.275
    • Geschlecht:
    Re: Modul Faxversand
    Antwort #1 am: 16. Januar 2013, 21:39:58
    Hallo lullifatz,

    an welcher Stelle hast du denn den Code eingebaut?

    Schöne Grüße,
    Jan

    lullifatz

    • Fördermitglied
    • Beiträge: 474
    Re: Modul Faxversand
    Antwort #2 am: 16. Januar 2013, 21:47:48
    Ich habe vieles probiert.
    Z. B. so

    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>

    <?php // BOF - web28 - 2010-07-09 - TABS/ACCORDION in product_info ?>
    <?php
    if (strstr($PHP_SELF, FILENAME_PRODUCT_INFO )) {
    ?>
    <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 });
            });
    /*]]>*/

    function newWinOpen(url, name, param)
            {
                    param_base = 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,screenX=150,screenY=150,top=150,left=150';
                    winHandle = this.open(url, name, param_base + param);
                    winHandle.focus();
                    if(winHandle.opener==null)
                    {
                            winHandle.opener=self;
                    }

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

     

    [EDIT h-h-h: Code in php Tags gesetzt.]

    Guenter59

    • Viel Schreiber
    • Beiträge: 1.484
    Re: Modul Faxversand
    Antwort #3 am: 16. Januar 2013, 22:06:08
    Hi lullifatz
    Wo finde ich denn dieses Modul Faxversand ?
    Gruß
    Günter

    lullifatz

    • Fördermitglied
    • Beiträge: 474
    Re: Modul Faxversand
    Antwort #4 am: 16. Januar 2013, 22:08:46
    Ich kann es Dir gerne schicken. Es ist nicht sehr verbreitet aber es ist für Firmen und ältere Leute echt interessant. Ich hatte es in einem anderen Shop und hat viele Bestellungen gebracht. Ich bekomme es jedoch im neuen Shop nicht installiert.

    Simon

    • Viel Schreiber
    • Beiträge: 1.369
    Re: Modul Faxversand
    Antwort #5 am: 16. Januar 2013, 22:10:45

    lullifatz

    • Fördermitglied
    • Beiträge: 474
    Re: Modul Faxversand
    Antwort #6 am: 16. Januar 2013, 22:12:17
    Ja, das ist es...

    jannemann

    • modified Team
    • Beiträge: 6.275
    • Geschlecht:
    Re: Modul Faxversand
    Antwort #7 am: 16. Januar 2013, 22:19:35
    Dann schau doch mal in das angepasste Paket, wo der Code in die generals.js.php rein muss.

    Guenter59

    • Viel Schreiber
    • Beiträge: 1.484
    Re: Modul Faxversand
    Antwort #8 am: 16. Januar 2013, 23:39:23
    @Simon, lullifatz
    Danke für die schnelle Antwort
    Gruß
    Günter
    rechtstexte für onlineshop