Jump to content

podaraz

Members
  • Posts

    2
  • Joined

  • Last visited

podaraz's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. remove float: left; from id="image-block" BAD/WRONG css .detail-img {float: left;} html CORRECT css .detail-img {} .detail-img-div {float: left;} html
  2. pokud neni nastaven jazyk v cookies v id_lang, bere si PS vychozi jazyk z $_SERVER['HTTP_ACCEPT_LANGUAGE'], coz muze hazet napr. EN (podle OS, apod...) jelikoz chci svuj shop pouze v cs, nastavil jsem to tak i v classes/Tools.php nasledujici zdrojak /* Automatically detect language if not already defined */ if (!$cookie->id_lang AND isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { $array = split(',', Tools::strtolower($_SERVER['HTTP_ACCEPT_LANGUAGE'])); if (Validate::isLanguageIsoCode($array[0])) $cookie->id_lang = Language::getIdByIso($array[0]); } jsem zmenil na /* Automatically detect language if not already defined */ if (!$cookie->id_lang AND isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { $array = split(',', Tools::strtolower('cs')); if (Validate::isLanguageIsoCode($array[0])) $cookie->id_lang = Language::getIdByIso($array[0]); } elegantneji by tam sla jiste dosadit napr $_LANG az nekdo vymysli neco hezciho, dejte vedet ;-)
  3. uz ste to mozna resili, ale nenasel sem to pokud mate ve jmene vaseho obchodu hacky nebo carky a generujete pdf, nezobrazi (defaultne v paticce) se vam tato pismena ani po pouziti te skvele upravy cestiny pro pdf. je to kvuli funkci strtoupper v PDF.php, bud ji zrusit nebo predelat, ja ji zrusil problem dela take mena Kc(c s hackem) - nejjednudussi reseni je asi zapsat Kc v backendu pomoci html entity
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More