Jump to content


  • Content count

  • Joined

  • Last visited

Everything posted by xciso

  1. xciso

    OSC 2.3.1 - CKEditor not showing.

    With this above you can use CKEditor everywhere in admin zone. But that give me problem, when i should edit store adress in configuration/my store Here comes a new guide to only use CKEditor when you edit the products. (1) Download the latest version of CKEditor: http://ckeditor.com/download (2) Unzip and move the ckeditor folder to /admin/ It should now looks like this /admin/ckeditor/ (3) Open the file catalog/admin/includes/template_top.php Find this line: <script type="text/javascript" src="includes/general.js"></script> Add this line below: <script type="text/javascript" src="./ckeditor/ckeditor.js"></script> (4) Open the file catalog/admin/categories.php Find this code: <?php echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))); ?> Replace with: <?php echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '10', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])),'id = products_description[' . $languages[$i]['id'] . '] class="ckeditor"'); ?> You are now done. Have a good day and hope it work well for you!
  2. xciso

    OSC 2.3.1 - CKEditor not showing.

    Here comes a full guide and this working perfect with 2.3.1! (1) Download the latest CKEditor from http://ckeditor.com/download and unpack to catalog/admin/ext/ckeditor - ckeditor.js should now be in the top level of this folder. (2) Open /catalog/admin/includes/functions/html_output.php and change the line with tep_draw_textarea_field (around line 252) to: $field = '<textarea name="' . tep_output_string($name) . '" id="' . tep_output_string($name) . '" cols="' . tep_output_string($width) . '" rows="' . tep_output_string($height) . '"'; (3) Open /catalog/admin/includes/template_top.php and add the following before the </head> tag: <?php if (!defined('USE_CKEDITOR_ADMIN_TEXTAREA')) { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, set_function) values ('', 'Use CKEditor', 'USE_CKEDITOR_ADMIN_TEXTAREA','true','Use CKEditor for WYSIWYG editing of textarea fields in admin',1,99,now(),'tep_cfg_select_option(array(\'true\', \'false\'),' )"); define ('USE_CKEDITOR_ADMIN_TEXTAREA','true'); } if (USE_CKEDITOR_ADMIN_TEXTAREA == "true") { ?> <script type="text/javascript" src="<?php echo tep_href_link('ext/ckeditor/ckeditor.js'); ?>"></script> <script type="text/javascript" src="<?php echo tep_href_link('ext/ckeditor/adapters/jquery.js'); ?>"></script> <script type="text/javascript"> $(function() { var $editors = $('textarea'); if ($editors.length) { $editors.each(function() { var editorID = $(this).attr("id"); var instance = CKEDITOR.instances[editorID]; if (instance) { CKEDITOR.remove(instance); } CKEDITOR.replace(editorID); }); } }); </script> <?php } ?> DONE!
  3. xciso

    OSC 2.3.1 - CKEditor not showing.

    Hold on 30 min. I Will give you a full guide.
  4. Hi Jack. Can i use the latest version "Ultimate SEO 2-2.2d-11" for v2.3.1?
  5. Osc 3.x is not good for real stores, it is for develop, and i think they dont working with this anymore. Go for 2.3.1
  6. xciso

    osC 2.3.1, STS

    STS is not working with 2.3.1. I recommend you to do a fresh install of 2.3.1, and then read the basic guide for this version.
  7. xciso

    AJAX Attribute Manager support

    I got the same errors. :(
  8. xciso

    [Contribution] CKEditor [wyswyg]

    Hi. I try to install this addon, but i cant get it to work perfect. If i replace "tep_draw_textarea_field" with "tep_draw_textarea_ckeditor" nothing works. Like this under: <td class="main"><?php echo tep_draw_textarea_ckeditor('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))); ?></td> But if i do like this it works. <?php echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '10', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])),'id = products_description[' . $languages[$i]['id'] . '] class="ckeditor"'); ?> Anyone know why? Thanks!
  9. Hello I installed last summer, "Ultimate SEO URLs" (Ultimate SEO 2-2.2d-8) Is this the best url seo tool? Are there others who are better so it's worth installing another? Then I will also install one of the "Header Tags" What is the best there today? Are there any more i need to have full SEO support? Please write the addons you have for best SEO. Thanks in advance! My shop is in 2.2RC2a with STS Many thanks in advance!
  10. xciso

    Header Tags SEO

    I cant find direct what the problem is. How can i get more info about where the problem is?
  11. xciso

    Header Tags SEO

    ok.. i will check..
  12. xciso

    Header Tags SEO

    Hi. I tryed today to copy a product, but when i do that i got this error: Anyone know what could be wrong? I have the latest release.. 1136 - Column count doesn't match value count at row 1 insert into products_description (products_id, language_id, products_name, products_description, products_short_description, products_data_table, products_head_title_tag, products_head_desc_tag, products_head_keywords_tag, products_url, products_viewed) values ('253', '1', '', ' ', '', '', '', '', '0') [TEP STOP]
  13. xciso

    Header Tags SEO

    I have the swedish language installed correct. Where is the reset funktion?
  14. xciso

    Header Tags SEO

    OK. Thanks. I will delete it directly!! One more thing. If i go to example Search side, my title will be "Advanced Search - Myshop.nu" I want this to be in swedish like: "sök - Myshop.nu" Whole my site is in swedish, but every title is showing english. Like: "About Us - Myshop.nu".
  15. xciso

    Header Tags SEO

    Hi. I have today installed htc for the first time. I am using STS, with extra templates for product_info. I have meta tags in this files. Is it good to have this in the templates files or is it better to take away everything. Same thin with title tag. it looks like this: <head><!--$headcontent--> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="description" content="Mystore.com Is the best store if u looking for hotdogs! This is example" /> <meta name="keywords" content="hotdog, food, cat, dog, example!" /> <title><?php echo TITLE; ?></title>
  16. Hi. How do I know if the new get installed? I overwrite my old file "seo.class.php" in the folder /includes/classes/. Then i go to my homepage in admin and frontside store. Then I set this to "true" "Reset SEO URLs Cache". Now what? Is it finished? Thanks guys!!
  17. Is it big diffrence between 2-2.2d-9 VS 2-2.2d-11? I have -9 installed and im thinking if i should upgrade to -11. Thanks! (I have RC2a)
  18. xciso

    Best seo addons?

    Why are you people building 2 of everything? Is this like Porsche VS Ferrari? Some guys say: Use the addons from jack_mcs Some guys say: Use the addons from FWR Media Its not easy to choose. Why are jack_mcs best? Why are FWR Media best? Thanks.
  19. xciso

    Best seo addons?

    OK thanks! If I install all these does it take "meta" too? Do you want to send links to all so I get the right ones? :)
  20. What will i have to do to upgrade from prev version 2.2.9
  21. Hi. When i click on a category in my cloumn left it past all the subcategories in the index side. Does anyone know how i can remove the subcategories in the index side. Not in my column left categories.. I only whant products to show up in the index side. Thanks :)
  22. xciso

    "Dynamenu" for osCommerce

    Hi everyone! Where can i found the last version of Dynamenu? It most looks like addons for addons for addons for a old version.. I am using STS for my shop if this is a another version for that. Thanks!
  23. xciso

    Manual Order Maker

    Where in admin/includes/function/general.php should I place the function "tep_get_address_format_id" Is it this i shell paste in general in admin zone? function tep_get_address_format_id($country_id) { $address_format_query = tep_db_query("select address_format_id as format_id from " . TABLE_COUNTRIES . " where countries_id = '" . (int)$country_id . "'"); if (tep_db_num_rows($address_format_query)) { $address_format = tep_db_fetch_array($address_format_query); return $address_format['format_id']; } else { return '1'; } }
  24. Hi. I have the last version install, and it works really good, until I decid me to have a special product_info file (STS product_info.php.html) If I turn lightbox effect off everything works good, but when I turn it on, i cant see my additional images, just my main image I upload. What can be wrong? Please help! :)
  25. xciso

    jQuery - Ultimate Product Pack

    Hi. I cant get the "prettyphoto" work when I use STS. It just opend the image in a new blank window. Does anyone know who I can get it work with STS? If I turn STS off it work, but not when I have it on. Thanks. :)