Jump to content

convict

Member
  • Posts

    1,302
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by convict

  1. cursor:pointer works in IE6 and up - that means it doesnt works in IE4,5,5.5. mobies suprises about IE 4 & 5 using - in web LOG files are records about clients browsers, arent? Never mind if you are still misunderstanding :ninja:
  2. Killer categories temlate file is diferent to 2 others skins. Template file for categories is called categories.tpl. This is one of the general advances: 1. Copy this file from other skin dir to killer dir but not with the same name, to prevent from replacing of original killers categories.tpl. Then open ani killer box template like currency, language....(we take look at correct classes) and copy all <div> to your 'new' categories.tpl. Structure of divs (with killers classes) must be the same, but main content of your new tpl will be like in Classic or Legend skin... 2. Place your new categories box {CATEGORIES2} in global index.tpl after {INFORMATION} 3. Then you should write new 2 rows for including of categories2.inc.php and parsing to box for your new CATEGORIES2 in index.php (just copy 2 rows, where categories.inc.php resides and place them after them and edit (add number 2 twice - after categories in categories.inc.php and after S in {CATEGORIES} 4. copy categories.inc.php to categories2.inc.php, open categories2.inc.php and edit the right name of the template....(name of your new categories.tpl in step 1). Huh, sory for my dirty english :unsure:
  3. When im writing 6 and up, i think its clear that in versions earlier than 6 doesnt :unsure:
  4. cursor:pointer works in IE6 and up cursor:hand doesnt work in FF this> EM:HOVER { text-decoration: underline; } doesnt work in IE, but works in FF
  5. convict

    Greek Lang

    Make new directory under CC3 language directory called gr. Copy contents of any other lang dir (4 files - i have made it from english2slovak) to your new dir. Translate lang.inc.php, home.inc.php ... replace flag.gif with your one (national flag) ...and its done
  6. ;) Create a new table into database, where CC3 tables are located I believe, that words like just copy&paste and run as SQL query on database in your favourite sql DB manager are completely clear.
  7. Sure its necessary but in your index.php this is at the end of file (after template parse). This must be just before tempate parsing and putting it to output! Send me files again pls, it must be seen.
  8. With CC3 provided as is - NO. MOD is required (for all I know doesnt exists already [for free doesnt definitely]).
  9. Yes, yes... index.php Cut $body->assign("SHELL_HEAD",$shell_head); $body->assign("SHELL_FOOT",$shell_foot); and place after $body = new XTemplate ("skins/".$config['skinDir']."/styleTemplates/global/index.tpl"); cart.php - do it like in index.php, but red marked will be cart And finally the merit of your trable (mine 2 ) use this instead of readfile global.inc.php $shell_head = join ('', file ("http://example.com/header.inc.php")); $shell_foot = join ('', file ("http://example.com/header.inc.php")); Hope this helps :o
  10. Just read PM and you can forget... Use readfile instead of require_once Im blind Read carefully this :)
  11. I dont believe, that all you posted on Sep 14 2005, 08:54 PM has been worked ever, because neither of your assigned varible has been parsed never! Bad assigned into bad files!!! index.inc.php & cart.inc.php are for content only, assigned to {PAGE_CONTENT} into global templates cart.tpl & index.tpl You have to do it like that: In index.php & cart.php add this $body->assign("SHELL_HEAD",$shell_head); $body->assign("SHELL_FOOT",$shell_foot);
  12. Type username in Morse code & pass in Esperanto, use MD5 hashed mouse click on LOGIN - it helps :D
  13. Names of temlate variables are 'prepared' for multilangue usage, but their contents NO. Example: $print_order_form->assign("LANG_THANK_YOU","Thank you for shopping with us!"); $print_order_form->assign("VAL_MAKE_CHEQUES_PAYABLE_TO","Please make cheques payable to ".$module['payableTo']."."); I see nothing but english ;)
  14. None. This is a question of DB (data conversion). Yes, but NOT for free yet.
  15. Vrakas, are you sure? As far as I know Order form is english ONLY. ;)
  16. Here you are >>> Current page (with any parameter) is MIME base64 encoded, then assigned to VAL_SELF template variable. Box session code: $box_content->assign("VAL_SELF",base64_encode(currentPage())); currentPage() function currentPage(){ $currentPage = $_SERVER['PHP_SELF']; if (isset($_SERVER['QUERY_STRING'])) { $currentPage .= "?" . htmlentities($_SERVER['QUERY_STRING']); } return $currentPage; } Session template: <a href="index.php?act=login&amp;redir={VAL_SELF}" class="txtSession">{LANG_LOGIN}</a>
  17. Your question is loose. PHP functions include[_once], require[_once] inside any php script, interprets php code in any included(required) file as php code (must be enclosed with php marks). All others outside of php marks interprets as is. Any other PHP funtions related to manage any file content (fopen, file.....) interprets content of those files as is, if they are open LOCALLY . If you want to get a final result of any php file into a variable, you have to 'call' this file using http into URL...like this: $my_variable = readfile ("http://my.host.tld/my_file.php"); // or any HTML with php code inside instead of $my_variable = readfile ("/my_file.php"); which interprets php file as is (source). ADDED LATER The right result wil be reached using join & file: $my_variable = join ('', file ("http://my.host.tld/my_file.php")); :unsure:
  18. If it happens, that food for my kids will be free rest of their life, then i do everything you want just for free You bought template, buy service B)
  19. Solution v3.0.2 [12.8.2005] tam to ma byt odstranene (ze vraj) [
×
×
  • Create New...