Jump to content

xciso

Members
  • Content count

    139
  • Joined

  • Last visited

Profile Information

  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. xciso

    Header Tags SEO

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

    Header Tags SEO

    ok.. i will check..
  11. 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]
  12. xciso

    Header Tags SEO

    I have the swedish language installed correct. Where is the reset funktion?
  13. 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".
  14. 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>
  15. 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!!
×