Jump to content

convict

Member
  • Posts

    1,302
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by convict

  1. Joker is absolutely right. Applications that support Unicode are often capable of displaying multiple languages and scripts within the same document. In a multilingual office or business setting, Unicode's importance as a universal character set cannot be overlooked. Unicode is the only practical character set option for applications that support multilingual documents. UTF-8 is a multibyte encoding in which each character can be encoded in as little as one byte and as many as four bytes. Most Western European languages require less than two bytes per character. For example, characters from Latin-based scripts require only 1.1 bytes on average. Greek, Arabic, Hebrew, and Russian require an average of 1.7 bytes. Finally, Japanese, Korean, and Chinese typically require three bytes per character. CubeCart was born in the UK - UTF-8 is useless. @Gaijin you are right that code page for language files is stored somewhere, but one side is translated file and the other database contents. [skus is v CC nacpat rukse znaky do databazy s CP1250] :D
  2. Really? dooh cant believe it. In spite of my comments above - NO COMMENT
  3. internetpilot buy certificate or change provider ;)
  4. Hi, here is the flash header implementation, works correct in FF and IE (tested on 6). LEGEND skin replace <div id="topHeader"> <div style="padding-top: 72px;">{SEARCH_FORM}</div> <div>{SESSION}</div> </div> with red value of width have to be #pageSurround width - 2px red value of height is your choice layout.css #topHeader remove> padding-right, background-image add> background-color (could be dark collor) modify> height - hieght of your flash logo + 21px style.css .searchBtn replace height: 20px with _height: 16px - dont forget that "_" must be here! (non-standard style property but not for IE ) .searchBox add> height: 14px; form, ol, ul add> , .searchBox, .searchBtn (could be - form, ol, ul, .searchBox, .searchBtn { ) searchForm.tpl Just delete line break between hidden input and button, because of IE. (WHITE SPACE issue) Final result using scubadus flash logo : <input type="hidden" name="act" value="viewCat" /><input name="Submit" type="submit" class="searchBtn" value="{LANG_GO}" />
  5. You love these kind of challenges, dont you? lol @vrakas your posts are invaluable sometimes :(
  6. Bold code is called a banner? ;)
  7. I have never sugested to change ANY setting for entire server . TVBanks98 solution cant be used generally, but in situations like this may be helps. Php ini_set() sets the value of the given configuration option. The configuration option will keep this new value during the script's execution, and will be restored at the script's ending. Keep in mind ;)
  8. @vrakas double up background issue solved, NOT height of box For correct box size some tricky style tracks are needed, or script code to assign right styles value for IE browser.
  9. I think that whole safe mode is not responsible for this issue. May be solution
  10. Strange (different to usual) width and height calculation, font height shifting one level hereinbefore in IE quirk (non-standard or Transitional) mode. Just add background-repeat: no-repeat; into #sessionBox style (layout.css) Issue solved ;)
  11. Just look at content of search box template how form variables are named and write your own search form code like this <form action="<CC3 folder here>index.php" method="get"> <input name="searchStr" type="text" value=""> <input type="hidden" name="act" value="viewCat"> <input name="Submit" type="submit" value="Search"> </form>just incorporate into main page, apply your own styles and label
  12. return FALSE {blank character on screen} Code optimization is required as you are writting like this $salePrice = salePrice($randProd[0]['price'], $randProd[0]['sale_price']); if($salePrice==FALSE){ $random_prod->assign("TXT_PRICE",priceFormat($randProd[0]['price'])); } else { $random_prod->assign("TXT_PRICE","<span class='txtOldPrice'>".priceFormat($randProd[0]['price'])."</span>"); } $random_prod->assign("TXT_SALE_PRICE", priceFormat($salePrice));last line - blank is much better as unassigned ;)
  13. Back to your first question - did you mean drop down box (combo box) Language or countries list for currrencies and shipment stored into database? If countries list which one your client wants?
  14. You have to assign product/ category name in other languages by clicking on Add new in upper right corner.
  15. piece of code is below <?php /* +-------------------------------------------------------------------------- | CubeCart v3.0.5 | ======================================== | by Alistair Brookbanks | CubeCart is a Trade Mark of Devellion Limited | (c) 2005 Devellion Limited | Devellion Limited, | Westfield Lodge, | Westland Green, | Little Hadham, | Nr Ware, HERTS. | SG11 2AL | UNITED KINGDOM | http://www.devellion.com | UK Private Limited Company No. 5323904 | ======================================== | Web: http://www.cubecart.com | Date: Thursday, 13 October 2005 | Email: info (at) cubecart (dot) com | License Type: CubeCart is NOT Open Source Software and Limitations Apply | Licence Info: http://www.cubecart.com/site/faq/license.php +-------------------------------------------------------------------------- | session.php | ======================================== | Core Session Management +-------------------------------------------------------------------------- */ if(!isset($config)){ echo "<html>\r\n<head>\r\n<title>Forbidden 403</title>\r\n</head>\r\n<body><h3>Forbidden 403</h3>\r\nThe document you are requesting is forbidden.\r\n</body>\r\n</html>"; exit; } $sessionDomain = substr($GLOBALS['rootRel'],0, strlen($GLOBALS['rootRel'])-1); @ini_set("session.cookie_path",$sessionDomain); session_start(); if( ($config['offLine']==1 && isset($_SESSION['ccAdmin']) && $config['offLineAllowAdmin']==0) || ($config['offLine']==1 && !isset($_SESSION['ccAdmin']))) { header("Location: offLine.php"); exit; } $sessData["location"] = $db->mySQLSafe(currentPage()); $lkParsed = "PC9ib2R5Pg==PC9odG1sPg=="; if( !isset($_SESSION['ccUser']) && (isset($_COOKIE['ccUser']) || isset($_GET['ccUser'])) ){ if(isset($_COOKIE['ccUser'])){ $sessId = base64_decode($_COOKIE['ccUser']); } elseif(isset($_GET['ccUser'])){ $sessId = $_GET['ccUser']; } Code that i have mentioned is here CC3 v3.0.5
  16. issue solved by poster this post has been posted twice
  17. Yes brooky is right. As a FIRST AID helps a small modification of sslSwitch.inc.php using $_SERVER['SERVER_PORT'] instead of $_SERVER['HTTS'] by checking for SLL port (mostly 443). And $_SERVER['HTTS'] issue is quite a different as secure and non-secure domain are unequal.
  18. your SSL dir/url settings are perfect! welcome to the ssl world buy certificate and you'll be in the real ssl world :rolleyes:
  19. Great! We are currently remodeling our store please check back in a few days :rolleyes:
  20. @noveltycentral you are welcome :rolleyes:
×
×
  • Create New...