Ankündigung

Einklappen
Keine Ankündigung bisher.

bild schräg

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    bild schräg

    hallo miteinander
    ich habe einen riesen problem, und zwar es geht um navi bild es ist schräg,
    keine Ahnung wieso


    wäre für hilfen sehr dankbar

    gruss kostonstyle

    #2
    die startseite von zen cart muss ich glaube ändern, wenn ich auf Konfiguration --> Eigene Seite für "Startseite" verwenden
    ausblende, verschwindet der der text test. wie kann ich die seite "willkommen! Bitte geniessen sie unseren ...."(siehe Bild) ändern?

    Kommentar


      #3
      ich habe den code gefunden, weiss aber leider nicht wie lösen
      Code:
      <?php
      /**
       * functions_customers
       *
       * @package functions
       * @copyright Copyright 2003-2005 Zen Cart Development Team
       * @copyright Portions Copyright 2003 osCommerce
       * @license [url]http://www.zen-cart.com/license/2_0.txt[/url] GNU Public License V2.0
       * @version $Id: functions_customers.php 4793 2006-10-20 05:25:20Z ajeh $
       */
      
      ////
      // Returns the address_format_id for the given country
      // TABLES: countries;
        function zen_get_address_format_id($country_id) {
          global $db;
          $address_format_query = "select address_format_id as format_id
                                   from " . TABLE_COUNTRIES . "
                                   where countries_id = '" . (int)$country_id . "'";
      
          $address_format = $db->Execute($address_format_query);
      
          if ($address_format->RecordCount() > 0) {
            return $address_format->fields['format_id'];
          } else {
            return '1';
          }
        }
      
      ////
      // Return a formatted address
      // TABLES: address_format
        function zen_address_format($address_format_id, $address, $html, $boln, $eoln) {
          global $db;
          $address_format_query = "select address_format as format
                                   from " . TABLE_ADDRESS_FORMAT . "
                                   where address_format_id = '" . (int)$address_format_id . "'";
      
          $address_format = $db->Execute($address_format_query);
          $company = zen_output_string_protected($address['company']);
          if (isset($address['firstname']) && zen_not_null($address['firstname'])) {
            $firstname = zen_output_string_protected($address['firstname']);
            $lastname = zen_output_string_protected($address['lastname']);
          } elseif (isset($address['name']) && zen_not_null($address['name'])) {
            $firstname = zen_output_string_protected($address['name']);
            $lastname = '';
          } else {
            $firstname = '';
            $lastname = '';
          }
          $street = zen_output_string_protected($address['street_address']);
          $suburb = zen_output_string_protected($address['suburb']);
          $city = zen_output_string_protected($address['city']);
          $state = zen_output_string_protected($address['state']);
          if (isset($address['country_id']) && zen_not_null($address['country_id'])) {
            $country = zen_get_country_name($address['country_id']);
      
            if (isset($address['zone_id']) && zen_not_null($address['zone_id'])) {
              $state = zen_get_zone_code($address['country_id'], $address['zone_id'], $state);
            }
          } elseif (isset($address['country']) && zen_not_null($address['country'])) {
            if (is_array($address['country'])) {
              $country = zen_output_string_protected($address['country']['countries_name']);
            } else {
            $country = zen_output_string_protected($address['country']);
            }
          } else {
            $country = '';
          }
          $postcode = zen_output_string_protected($address['postcode']);
          $zip = $postcode;
      
          if ($html) {
      // HTML Mode
            $HR = '<hr />';
            $hr = '<hr />';
            if ( ($boln == '') && ($eoln == "\n") ) { // Values not specified, use rational defaults
              $CR = '
      ';
              $cr = '
      ';
              $eoln = $cr;
            } else { // Use values supplied
              $CR = $eoln . $boln;
              $cr = $CR;
            }
          } else {
      // Text Mode
            $CR = $eoln;
            $cr = $CR;
            $HR = '----------------------------------------';
            $hr = '----------------------------------------';
          }
      
          $statecomma = '';
          $streets = $street;
          if ($suburb != '') $streets = $street . $cr . $suburb;
          if ($country == '') {
            if (is_array($address['country'])) {
              $country = zen_output_string_protected($address['country']['countries_name']);
            } else {
            $country = zen_output_string_protected($address['country']);
            }
          }
          if ($state != '') $statecomma = $state . ', ';
      
          $fmt = $address_format->fields['format'];
          eval("\$address_out = \"$fmt\";");
      
          if ( (ACCOUNT_COMPANY == 'true') && (zen_not_null($company)) ) {
            $address_out = $company . $cr . $address_out;
          }
      
          return $address_out;
        }
      
      ////
      // Return a formatted address
      // TABLES: customers, address_book
        function zen_address_label($customers_id, $address_id = 1, $html = false, $boln = '', $eoln = "\n") {
          global $db;
          $address_query = "select entry_firstname as firstname, entry_lastname as lastname,
                                   entry_company as company, entry_street_address as street_address,
                                   entry_suburb as suburb, entry_city as city, entry_postcode as postcode,
                                   entry_state as state, entry_zone_id as zone_id,
                                   entry_country_id as country_id
                            from " . TABLE_ADDRESS_BOOK . "
                            where customers_id = '" . (int)$customers_id . "'
                            and address_book_id = '" . (int)$address_id . "'";
      
          $address = $db->Execute($address_query);
      
          $format_id = zen_get_address_format_id($address->fields['country_id']);
          return zen_address_format($format_id, $address->fields, $html, $boln, $eoln);
        }
      
      ////
      // Return a customer greeting
        function zen_customer_greeting() {
      
          if (isset($_SESSION['customer_id']) && $_SESSION['customer_first_name']) {
            $greeting_string = sprintf(TEXT_GREETING_PERSONAL, zen_output_string_protected($_SESSION['customer_first_name']), zen_href_link(FILENAME_PRODUCTS_NEW));
          } else {
            $greeting_string = sprintf(TEXT_GREETING_GUEST, zen_href_link(FILENAME_LOGIN, '', 'SSL'), zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'));
      	  echo("ahhlo");
          }
      
          return $greeting_string;
        }
      
        function zen_count_customer_orders($id = '', $check_session = true) {
          global $db;
      
          if (is_numeric($id) == false) {
            if ($_SESSION['customer_id']) {
              $id = $_SESSION['customer_id'];
            } else {
              return 0;
            }
          }
      
          if ($check_session == true) {
            if ( ($_SESSION['customer_id'] == false) || ($id != $_SESSION['customer_id']) ) {
              return 0;
            }
          }
      
          $orders_check_query = "select count(*) as total
                                 from " . TABLE_ORDERS . "
                                 where customers_id = '" . (int)$id . "'";
      
          $orders_check = $db->Execute($orders_check_query);
      
          return $orders_check->fields['total'];
        }
      
        function zen_count_customer_address_book_entries($id = '', $check_session = true) {
          global $db;
      
          if (is_numeric($id) == false) {
            if ($_SESSION['customer_id']) {
              $id = $_SESSION['customer_id'];
            } else {
              return 0;
            }
          }
      
          if ($check_session == true) {
            if ( ($_SESSION['customer_id'] == false) || ($id != $_SESSION['customer_id']) ) {
              return 0;
            }
          }
      
          $addresses_query = "select count(*) as total
                              from " . TABLE_ADDRESS_BOOK . "
                              where customers_id = '" . (int)$id . "'";
      
          $addresses = $db->Execute($addresses_query);
      
          return $addresses->fields['total'];
        }
      
      ////
      // validate customer matches session
        function zen_get_customer_validate_session($customer_id) {
          global $db, $messageStack;
          $zc_check_customer = $db->Execute("SELECT customers_id from " . TABLE_CUSTOMERS . " WHERE customers_id=" . (int)$customer_id);
          if ($zc_check_customer->RecordCount() <= 0) {
            $db->Execute("DELETE from " . TABLE_CUSTOMERS_BASKET . " WHERE customers_id= " . $customer_id);
            $db->Execute("DELETE from " . TABLE_CUSTOMERS_BASKET_ATTRIBUTES . " WHERE customers_id= " . $customer_id);
            unset($_SESSION['customer_id']);
            $messageStack->add_session('header', ERROR_CUSTOMERS_ID_INVALID, 'error');
            return false;
          }
          return true;
        }
      ?>

      Kommentar


        #4
        Also das Bild oben alleine ist noch nicht sehr aussagekräftig.

        Ich tippe mal darauf, das du dieses Bild mit dem Frauenkopf selber eingebaut hast. Weiterhin nehme ich mal an, das dieses Bild breiter ist als der Rest des Shops und deshalb die Box Informationen weiter nach aussen gedrückt wird. Ohne konkreten Link ist das aber nur sehr theoretisch.

        Die Meldung "Willkommen geniessen sie unseren Schauraum..." findest du in der Datei includes/languages/german/index.php Dort kannst du den Text beliebig abändern.

        Den Text darunter kannst du ändern unter Tools --> Seiteneditor --> define main page

        Gruß
        MaleBorg

        Kommentar


          #5
          wenn ich zum beispiel auf new products anklicke, ist das bild gerade zu "information", besser gesagt alles stimmt ausser bei home ist es schräg.
          ich suche mal weiter, hoffentlich finde es

          Kommentar

          Info zu diesem Forenarchiv:
          Mit Release von 1.5.7 wurde die deutsche Zen Cart Version auf eine reine DIY-Lösung umgestellt.
          Für einen Support via Forum stehen keine personellen und zeitlichen Ressourcen mehr zur Verfügung.
          Dieses Supportforum bleibt im Nur-Lesen-Modus als Wissensarchiv noch online verfügbar.
          PM Funktionalität, Registrierung und Posten neuer Beiträge sind deaktiviert.
          Zugriff auf Anhänge in den Postings ist auch ohne Registrierung/Einloggen möglich.
          FAQ und Downloadbereich des Forums wurden in die neue umfangreiche Knowledgebase auf der zen-cart-pro.at Website übernommen.

          Das Development der deutschen Zen Cart Version geht wie bisher auf Github weiter.
          Wir werden auch weiterhin neue Versionen bereitstellen und die Onlinedokumentation/Knowledgebase aktualisieren.
          Fehler in der Software können auf Github als Issues gemeldet werden.
          Follow us
          aktuelle version
          Zen Cart 1.5.7h deutsch
          vom 15.04.2024
          [Download]
          Lädt...
          X