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: popup_content Datenschutzrichtlinien öffnet sich im neuem Fenster

    thomas2k

    • Neu im Forum
    • Beiträge: 36
    Hallo,

    ich habe das Problem, dass sich die Datenschutzrichtlinien nicht in dem kleinen Popup Fenster öffnen sondern in einem komplett neuem Fenster.

    Wie kann ich das ändern?

    Danke und Gruß,
    Thomas



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

    GTB

    • modified Team
    • Gravatar
    • Beiträge: 6.306
    • Geschlecht:
    hast du den Link selber erstellt ?

    thomas2k

    • Neu im Forum
    • Beiträge: 36
    nein, ist alles standard. :/

    GTB

    • modified Team
    • Gravatar
    • Beiträge: 6.306
    • Geschlecht:
    meinst du den Datenschutzlink bei der Registrierung bzw im Checkout ?

    thomas2k

    • Neu im Forum
    • Beiträge: 36
    Ja genau den

    GTB

    • modified Team
    • Gravatar
    • Beiträge: 6.306
    • Geschlecht:
    der wird in einem Thickbox Fenster geöffnen, allerdings nur, wenn Javascript aktiviert ist.

    Tomcraft

    • modified Team
    • Gravatar
    • Beiträge: 46.369
    • Geschlecht:
    Ich Zweifel wäre ein Link zum Shop super. ;-)

    Grüße

    Torsten

    thomas2k

    • Neu im Forum
    • Beiträge: 36
    Link zum Shop: http://bit.ly/bl6pib

    müsstest du eigentlich noch kennen Torsten  :D

    GTB

    • modified Team
    • Gravatar
    • Beiträge: 6.306
    • Geschlecht:
    poste mal deine /includes/classes/main.php

    thomas2k

    • Neu im Forum
    • Beiträge: 36
    Hier der Code der main.php

    Code: PHP  [Auswählen]
    <?php
    /* -----------------------------------------------------------------------------------------
       $Id: main.php 1286 2005-10-07 10:10:18Z mz $

       XT-Commerce - community made shopping
       http://www.(( Wir dulden keine kommerziellen Werbelinks - Bitte <a href="index.php?topic=3013.0">Forenregeln</a> beachten! ))

       Copyright (c) 2005 XT-Commerce
       -----------------------------------------------------------------------------------------
       based on:
       (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
       (c) 2002-2003 osCommerce(Coding Standards); www.oscommerce.com

       Released under the GNU General Public License
       ---------------------------------------------------------------------------------------*/


    class main {

            function main () {
                    $this->SHIPPING = array();

                    // prefetch shipping status
                    $status_query=xtDBquery("SELECT shipping_status_name,
                                        shipping_status_image,
                                        shipping_status_id
                                 FROM "
    .TABLE_SHIPPING_STATUS."
                                 WHERE language_id = '"
    .(int)$_SESSION['languages_id']."'");

         while ($status_data=xtc_db_fetch_array($status_query,true)) {
                    $this->SHIPPING[$status_data['shipping_status_id']]=array('name'=>$status_data['shipping_status_name'],'image'=>$status_data['shipping_status_image']);
         }

            }

            function getShippingStatusName($id) {
                    return $this->SHIPPING[$id]['name'];
            }

            function getShippingStatusImage($id) {
                    if ($this->SHIPPING[$id]['image']) {
                    return 'admin/images/icons/'.$this->SHIPPING[$id]['image'];
                    } else {
                            return;
                    }
            }

            function getShippingLink() {
              //BOF - DokuMan - 2009-08-09 - fixed wrong quotationmark position and fixed wrong question mark on KeepThis=true
              //return ' '.SHIPPING_EXCL.' <a target="blank" href="'.xtc_href_link(FILENAME_POPUP_CONTENT, 'coID='.SHIPPING_INFOS.'?KeepThis=true&TB_iframe=true&height=400&width=600"').' title="Information" class="thickbox">'.SHIPPING_COSTS.'</a>';
            return ' '.SHIPPING_EXCL.' <a target="_blank" href="'.xtc_href_link(FILENAME_POPUP_CONTENT, 'coID='.SHIPPING_INFOS.'&KeepThis=true&TB_iframe=true&height=400&width=600').'" title="Information" class="thickbox">'.SHIPPING_COSTS.'</a>';
              //EOF - DokuMan - 2009-05-31 - fixed wrong quotationmark position and fixed wrong question mark on KeepThis=true
            }

            function getTaxNotice() {

                    // no prices
                    if ($_SESSION['customers_status']['customers_status_show_price'] == 0)
                            return;

                    if ($_SESSION['customers_status']['customers_status_show_price_tax'] != 0) {
                            return TAX_INFO_INCL_GLOBAL;
                    }
                    // excl tax + tax at checkout
                    if ($_SESSION['customers_status']['customers_status_show_price_tax'] == 0 && $_SESSION['customers_status']['customers_status_add_tax_ot'] == 1) {
                            return TAX_INFO_ADD_GLOBAL;
                    }
                    // excl tax
                    if ($_SESSION['customers_status']['customers_status_show_price_tax'] == 0 && $_SESSION['customers_status']['customers_status_add_tax_ot'] == 0) {
                            return TAX_INFO_EXCL_GLOBAL;
                    }

                    return;
            }

            function getTaxInfo($tax_rate) {

            // price incl tax
                                    if ($tax_rate> 0 && $_SESSION['customers_status']['customers_status_show_price_tax'] != 0) {
                                            $tax_info = sprintf(TAX_INFO_INCL, $tax_rate.' %');
                                    }
                                    // excl tax + tax at checkout
                                    if ($tax_rate> 0 && $_SESSION['customers_status']['customers_status_show_price_tax'] == 0 && $_SESSION['customers_status']['customers_status_add_tax_ot'] == 1) {
                                            $tax_info = sprintf(TAX_INFO_ADD, $tax_rate.' %');
                                    }
                                    // excl tax
                                    if ($tax_rate> 0 && $_SESSION['customers_status']['customers_status_show_price_tax'] == 0 && $_SESSION['customers_status']['customers_status_add_tax_ot'] == 0) {
                                            $tax_info = sprintf(TAX_INFO_EXCL, $tax_rate.' %');
                                    }
                    return $tax_info;
            }

            function getShippingNotice() {
                    if (SHOW_SHIPPING == 'true') {
                            return ' '.SHIPPING_EXCL.'<a href="'.xtc_href_link(FILENAME_CONTENT, 'coID='.SHIPPING_INFOS).'">'.SHIPPING_COSTS.'</a>';
                    }
                    return;
            }

       function getContentLink($coID,$text,$ssl='') {
              //BOF - Hetfield - 2009-07-29 - SSL for Content-Links per getContentLink and fixed wrong question mark on KeepThis=true
                    if ($ssl != 'SSL' ) { $ssl = 'NONSSL'; }
                    return '<a target="_blank" href="'.xtc_href_link(FILENAME_POPUP_CONTENT, 'coID='.$coID.'&KeepThis=true&TB_iframe=true&height=400&width=600"', $ssl).' title="Information" class="thickbox"><font color="#ff0000">'.$text.'</a>';
                    //EOF - Hetfield - 2009-07-29 - SSL for Content-Links per getContentLink and fixed wrong question mark on KeepThis=true
             }

    }
    ?>

    GTB

    • modified Team
    • Gravatar
    • Beiträge: 6.306
    • Geschlecht:
    popup_content Datenschutzrichtlinien öffnet sich im neuem Fenster
    Antwort #10 am: 12. August 2010, 11:39:34
    ich sehe auf deiner Seite nirgends die "thickbox.js" und "jquery.js" eingebunden ????

    diese sollte in /templates/woodyShop/javascript/ vorhanden sein und über die general.js.php eingebunden sein.

    Code: PHP  [Auswählen]
    <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>
     

    Tomcraft

    • modified Team
    • Gravatar
    • Beiträge: 46.369
    • Geschlecht:
    popup_content Datenschutzrichtlinien öffnet sich im neuem Fenster
    Antwort #11 am: 12. August 2010, 19:10:59
    Link zum Shop: http://bit.ly/bl6pib

    müsstest du eigentlich noch kennen Torsten  :D

    Ja sorry, hatte ich vergessen. ;-)

    Das Script beisst sich mit dem Index-Banner Script, daher hat der Entwickler/dein Server Admin die jquery.js und thickbox.js in der general.js.php auskommentiert. :/

    Deshalb funktionieren die ThickBox links nicht mehr.

    Grüße

    Torsten

    GTB

    • modified Team
    • Gravatar
    • Beiträge: 6.306
    • Geschlecht:
    popup_content Datenschutzrichtlinien öffnet sich im neuem Fenster
    Antwort #12 am: 12. August 2010, 19:23:55
    Kannst aber auch wieder zu den alten POPUP Fenstern aus xt:Commerce Zeiten zurückkehren. :PP

    7 Antworten
    5297 Aufrufe
    19. Juni 2012, 08:26:50 von jannemann
    6 Antworten
    3919 Aufrufe
    01. September 2010, 11:47:21 von Tomcraft
    2 Antworten
    2044 Aufrufe
    05. Februar 2017, 13:00:24 von lohkaes1
    6 Antworten
    4364 Aufrufe
    30. Juni 2015, 19:18:21 von noRiddle (revilonetz)
               
    anything