Jump to content

wijnendael

Members
  • Content count

    58
  • Joined

  • Last visited

Everything posted by wijnendael

  1. wijnendael

    Discount Code

    Can somebody tell me how to install the discount code addon to version 2.3.1 as i am finding the downloads available a little confusing. The discount code 2.8 for osc 2.3.1 only includes some page changes and no sql or other code changes. If i look at the original version 2.2 i think then it includes the sql changes and the code changes however it is different from version 2.3.1 of OSC when you get to step 6 as this code does not exist. How do i do a clean install of this addon to 2.3.1. Help would be appreciated
  2. wijnendael

    Discount Code

    Installed this addon some time ago but never tested the checkout, i just upgraded to version 2.9 on oscommerce 2.3 and only just noticed that for some reason the addon is not functioning correctly. When doing a checkout i can enter the discount code in the box but when proceeding to the next page order confirmation no discount is displayed or applied. So when the checkout is completed no discount was applied. The sort order has been set correctly but nothing is displayed or deducted can somebody assist.
  3. wijnendael

    CKEDITOR config help

    I have another thread going trying to establish a problem with the install of ckeditor and filemanager but as i need to have ckeditor re-installed to as before without filemanager i am attempting to re-install just ckeditor but have the following happening after install and hope somebody can assist. Problem 1. Ckeditor shows twice now in the products entry one above the other why is this and how do i get only one. Problem 2. I have enabled the upload tab and browse server buttons in the ckeditor image.js file can some body tell me where i set the path for the upload to server button as i receive a error when using this button. I do not think the browse server button will work without a filemanager installed is this true ? Problem 3. it seems that following opening the add image box and then using the cancel button that the product entry page freezes and can only cancel by doing a page refresh does anyone know what causes this. Has anyone successfully installed ckfinder with ckeditor on osc 2.3 ?
  4. wijnendael

    CKEDITOR config help

    All problems solved and working ok with core five filemanager
  5. wijnendael

    ckeditor

    Well before i start i see there has been a lot of questions regarding image upload with ckeditor but after a few hours reading i dont seem to be getting anywhere so hope someone may have solved the problem and can give me a solution. Some time ago i installed ckeditor on my site and everything seemed to work fine until i tried to upload some images and found that there was no upload tab or browse server button. After reading something on the ckeditor site i found how to enable the upload tab but receive a error after pressing the send to server button. I have not found a way of enabling the browse server button. Has anybody found a way round this that will enable them to upload pictures from the local hard drive or do you need a licence from ckeditor to do this. Is there another wysiwyg editor other than ckeditor that has these functions as i read fckeditor used to have all these functions. Some help with this would be appreciated.
  6. wijnendael

    ckeditor

    Problems have been solved by removing completely this contribution (ckeditor & filemanager) and re-installing ckeditor in the old folder which was admin/ext/ckeditor and making the mods as per a older contribution, then downloading and adding the file manager from core five. After a little configuration of ckeditor and core five file manager everything seems to be working ok. Thanks everybody for the assistance pity i could not get it to work.
  7. wijnendael

    CKEDITOR config help

    With ref to my previous post after reading some info on the net i have solved problems 1 & 3 by removing some code i added but still have the upload to server error 404 i think after trying to upload to server anyone help me with this ?
  8. wijnendael

    ckeditor

    my latest finds with my install on a clean osc 2.3 are that there is no difference with the results i get using ckeditor 3.5.2 or 3.6 so this is not the reason. When i run new product i get the ckeditor and all buttons are there (browse server & upload tab) however if i use the upload tab i can browse and select a file but after pressing 'upload to server' the url window clears but i cannot find the file anywhere on the server. Secondly if i use the browse server button then the filemanager window opens and i can select a image and insert it into the product description box, however the images will not display as thumbs and there is a fault described across the top of the filemanager window that says:- Strict Standards: Redifining already defined constructor for class Minify in C:\XAMPP\htdocs\osctest\admin\ckeditor\Filemanager\minify.php on line 275. what does this mean ? It seems lots of people have this contribution running and went through the setup no problem so i cannot understand why i am having no luck :'(
  9. wijnendael

    ckeditor

    Hi Francois, not sure what you are showing me in your last post. As i am still not able to get this to run in my live shop i have installed a clean copy of oscommerce 2.3 on my local drive with no contributions added and then installed the ckeditor and filemanager with code mods etc. When i run this using xampp i get the ckeditor to display and the filemanager to open when using the browse server button but the filemanager does not work correctly as there are some errors shown at the top of the window. The only thing i can see now is that there must be something in my live shop that is stopping ckeditor and filemanager from working but i dont know what it is. If i can get it to work on the local server then maybe i can compare the edited files with the shop files and see if there are any differences that may be the problem. All failing this i will have to try and go back to the earlier version of ckeditor 3.5.2 without the upload and browse server buttons as at least with this i had some functionality. If there is someone on the forum that offers a install service of ckeditor and filemanager on osc 2.3 please pm me with the details.
  10. wijnendael

    ckeditor

    Sorry Francois i posted incorrectly, i have installed before </HEAD> and not <HEAD> as i said but ckeditor will still not work !. I get the same results when i make all the changes the product discription entry box changes to a small size with 15 in the top left corner, as soon as i remove the added code in the admin/includes/functions/html_output.php the product description box returns to it normal state without ckeditor installed (default osc). As i said in previous posts i previously had ckeditor installed and working ok without file upload function. This was installed from a previous contribution and the version of ckeditor was 3.5.2, i have (i think ) removed all mods and additions that where made to install the ckeditor and filemanager but still cannot get either ckeditor or filemanager to function. The only difference from the instructions is that the version of ckeditor i have now downloaded and installed is 3.6 will this make a difference ?. the only part of the instructions i am not sure about is the changes to the paths but i think i have set these correct. So can anyone tell me why ckeditor will not show and why it simply changes the size of the product description box to very small and place 15 in the top left corner.
  11. wijnendael

    ckeditor

    I have temporally removed the code changes addins from the files that where modified and this as at least give me back the original product description box without the ckeditor. I really need to know now if this ckeditor and filemanager can be configured for osc 2.3 by just using the changes shown in the pdf install file or have other changes also to be made. Francois did you simply make the changes in pdf file for it to work correctly in version 2.3 or where there some changes made previously for ckeditor ? because i dont seem to be able to get it to work unless i am doing something incorrect. I uploaded the folder with ckeditor and filemanager to the admin folder then made the change to admin/includes/functions/html_output.php by adding the extra code. Then in admin/categories.php changed the entries of tep_draw_textarea_field to tep_draw_textarea_ckeditor. Added <script type="text/javascript" src="./ckeditor/ckeditor.js"></script> to admin/includes/template_top.php over the <head> position. Installed the files from the admin folder overwriting existing files, then mad the mods to the admin/ckeditor/filemanager/config.php and admin/ckeditor/filemanager/phpthumb/phpthumb.config.php and added the line in admin/includes/configure.php but it will not work and do not know the reason why like i said in previous post just get a small product description box with no ckeditor and 15 in the left corner. Urgent help required !!
  12. wijnendael

    ckeditor

    Back again and still with install problems. I have now deleted all installed files / folders & edits of ckeditor download the current versions of ckeditor and filemanager from the web, and setup the folder as described in the install file. I have uploaded the folder to the admin and made the changes as described in the install, the only differance i noted was that the file in the phpthumb folder (phpThumb.config) is spelled different than the original (phpthumb.config, no capital T) is this meant to be so as copying it to the folder creates another file and does not overwrite the original. Now when i try to enter a product i do not get the ckeditor displayed under product description but just get a smaller input box with 15 in the left corner. When i originally had ckeditor running (without filemanager) it was installed slightly differently and in the admin/ext folder not directly under admin, this way everything worked ok without the file upload function. How can i find out what the problem is with the ckeditor and filemanager install so i can get it to work correctly
  13. wijnendael

    ckeditor

    Well here i am again, upto now i have been making the changes and tests on my local pc but just made a change to the site and can no longer get into the admin of the shop but just keep receiving this error Parse error: syntax error, unexpected '<' in /home/mammot15/public_html/admin/includes/template_top.php on line 39 I cannot seem to find what the problem is and even when i replace the file with the backup i get the same error Sorry to have to keep asking for assistance but this programming is very new to me and i am obviously doing something wrong can any body assist me with the problem so i can at least get the admin of my shop working again. The code from the template_top.php is:- <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2010 osCommerce Released under the GNU General Public License */ $oscTemplate->buildBlocks(); if (!$oscTemplate->hasBlocks('boxes_column_left')) { $oscTemplate->setGridContentWidth($oscTemplate->getGridContentWidth() + $oscTemplate->getGridColumnWidth()); } if (!$oscTemplate->hasBlocks('boxes_column_right')) { $oscTemplate->setGridContentWidth($oscTemplate->getGridContentWidth() + $oscTemplate->getGridColumnWidth()); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?>> <?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 } ?> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" /> <title><?php echo tep_output_string_protected($oscTemplate->getTitle()); ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>" /> <link rel="stylesheet" type="text/css" href="ext/jquery/ui/redmond/jquery-ui-1.8.6.css" /> <script type="text/javascript" src="ext/jquery/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.6.min.js"></script> <?php if (tep_not_null(JQUERY_DATEPICKER_I18N_CODE)) { ?> <script type="text/javascript" src="ext/jquery/ui/i18n/jquery.ui.datepicker-<?php echo JQUERY_DATEPICKER_I18N_CODE; ?>.js"></<script> <script type="text/javascript"> $.datepicker.setDefaults($.datepicker.regional['<?php echo JQUERY_DATEPICKER_I18N_CODE; ?>']); </script> <?php } ?> <script type="text/javascript" src="ext/jquery/bxGallery/jquery.bxGallery.1.1.min.js"></script> <link rel="stylesheet" type="text/css" href="ext/jquery/fancybox/jquery.fancybox-1.3.4.css" /> <script type="text/javascript" src="ext/jquery/fancybox/jquery.fancybox-1.3.4.pack.js"></script> <link rel="stylesheet" type="text/css" href="ext/960gs/<?php echo ((stripos(HTML_PARAMS, 'dir="rtl"') !== false) ? 'rtl_' : ''); ?>960_24_col.css" /> <link rel="stylesheet" type="text/css" href="stylesheet.css" /> <?php echo $oscTemplate->getBlocks('header_tags'); ?> </head> <body> <div id="bodyWrapper" class="container_<?php echo $oscTemplate->getGridContainerWidth(); ?>"> <?php // BOF: WebMakers.com Added: Down for Maintenance if ((DOWN_FOR_MAINTENANCE == 'false') || ((DOWN_FOR_MAINTENANCE == 'true') && (DOWN_FOR_MAINTENANCE_HEADER_OFF == 'false')) ) { require(DIR_WS_INCLUDES . 'header.php'); } // EOF: WebMakers.com Added: Down for Maintenance ?> <div id="bodyContent" class="grid_<?php echo $oscTemplate->getGridContentWidth(); ?> <?php echo ($oscTemplate->hasBlocks('boxes_column_left') ? 'push_' . $oscTemplate->getGridColumnWidth() : ''); ?>">
  14. wijnendael

    ckeditor

    Hi, now i have looked at the file config in the filemanager and changed the line 64 to read 'C:/XAMPP/htdocs/mammoth/admin/includes/configure.php' and i now get the filemanager to open when selecting browse server however i still have a few problems. First i cannot get thumbnails to display just small red crosses and when i use the upload button i cannot see anything that allows me to select files so i am still wrong somewhere with this. Also if i use the upload tab from the image insert popup it allows me to select a image but when i press send to server the url box clears and then nothing happens, if i go to the browse server button the file i just sent to the server is not there
  15. wijnendael

    ckeditor

    Correction to my last post the reason for not seeing ckeditor was my fault and where i had placed the files in the wrong folder. This has been corrected now and the ckeditor is showing up but when i try to upload a file/photo i get the following error do i have something configured wrong in these files. the error is:- Warning: require(C:/XAMPP/htdocs/catalog/admin/includes/configure.php) [function.require]: failed to open stream: No such file or directory in C:\XAMPP\htdocs\mammoth\admin\ckeditor\Filemanager\config.php on line 64 Fatal error: require() [function.require]: Failed opening required 'C:/XAMPP/htdocs/catalog/admin/includes/configure.php' (include_path='.;C:\XAMPP\php\PEAR') in C:\XAMPP\htdocs\mammoth\admin\ckeditor\Filemanager\config.php on line 64
  16. wijnendael

    ckeditor

    Francois & Dunweb thanks for the replies, i installed the filemanager (already had ckeditor installed) and made the edits to the code as described in the pdf file with the exception of the one in the catagories.php (head) this was made in the includes/template_top as pointed out by francois. Now i have another problem, before making the change to the template_top file the ckeditor was showing when adding a product and all the buttons where visible (browse server, upload) but it did not function correctly and after making the edit to the template_top the ckeditor is no longer shown when adding a product have i done something wrong now or should i remove everything and do the install again cleanly without using the ckeditor that was previously installed ?
  17. Think i posted this in a new topic instead of adding it as a reply to this thread whoops !! Hi to everyone who posted on this thread. I have just downloaded and installed version 1.3 of request for quote and have the same problem on version 2.3 of oscommerce as previous posters. After reading through the posts i am unsure if the last post was a fix for the problem and would be grateful if somebody could tell me if it is. If this is the fix please tell me where i have to make the modification as the file is not named. The addon seems to do exactly what i require if i can get it to work correctly so please let me know.
  18. wijnendael

    Zone problem

    Hi to everyone who posted on this thread. I have just downloaded and installed version 1.3 of request for quote and have the same problem on version 2.3 of oscommerce as previous posters. After reading through the posts i am unsure if the last post was a fix for the problem and would be grateful if somebody could tell me if it is. If this is the fix please tell me where i have to make the modification as the file is not named. The addon seems to do exactly what i require if i can get it to work correctly so please let me know.
  19. wijnendael

    [Contribution] CKEditor [wyswyg]

    Can someone assist. Just installed ckeditor into my osc 2.3 shop and have the following questions. The installation went without problem on both my test site running on my local machine under XAMPP and also on my live shop. However i have a couple of differences between the two when running, on my test site the ckeditor opens with a full width window but on my live shop it opens with a narrow window what causes this. On both sites i do not see where you can turn on and off ckeditor in the admin. Also on both sites there is no server browse button for adding images, by making a change in one of the files in ckeditor (as per a comment on ckeditor site) i can make the extra tab for upload image appear but it does not seem to function correctly. Solutions to these problems would be helpful to get this working correctly
  20. wijnendael

    trying to install

    Hi G, thanks for the reply sorry about the lack of info so here it is:- The addon was downloaded from the forum (Ckeditor with PDW filemanager for Oscommerce) and it contains two sets of instruction a doc file and a pdf file. I have inserted the folders under admin and made the first change to the admin/includes/functions/html_output.php file but the next instruction i cannot find in the file, instruction as below. 4) Open file admin/categories.php find: </head> Above add: <script type="text/javascript" src="./ckeditor/ckeditor.js"></script> As far as i know i have not made any changes to this file previously, and have checked a original file from a download of ver 2.3 where i do not find this either. This is why i am wondering if the instructions maybe incorrect. It would be really useful to get this addon to work to make it easier for creating newsletters T
  21. wijnendael

    trying to install

    Hi, can someone assist me with the install of this addon. I have downloaded the files and uploaded the folders for ckeditor and file manager into the admin section of our shop. The problem i have encountered is that the first change to code in the admin/includes/functions/html_output.php went ok and the relevant part was found and new code added. However when i get to the second change that needs to be made in the admin/categories.php i cannot find the first part that requires changing ( </head> ) is there something i am missing here, help would be appreciated
  22. wijnendael

    [add-on] Discount Code (support)

    How doe the customer notification of discount code work. I understand that the customer can enter the discount code into the box on payment information, but in the explanation it says you can use the link for newsletters etc as follows:- Customer gets a discount by clicking a link or inserting the discount code while checkout. The link containing the discount code (http://www.yourshop.com/?discount_code=12345678) is especially convenient for newsletters sending out and promo campaigns conducting. Does this mean that you can include this link into your newsletter substituting your shop and discount_code=12345678 with your discount code number as i have tried this link but just get the normal shop page. How does it work ?
  23. wijnendael

    Discount Code

    Can anybody tell me where i can get the instructions for using discount code. I have tried entering a code and everything goes ok, is there a way to edit the code once it is installed i can only see delete. Does this mean that once entered the only way it can be edited is by deleting and starting again ?
  24. wijnendael

    Discount Code

    just to let everyone know that i have found the problem with the error i was receiving. With some help from the original contributor of this addon, it appears that the tables i added to the database from the discount code 2.6 for osc 2.3.1 readme files are incorrect and only one table is added as follows:- The structure of the discount_codes table should be CREATE TABLE discount_codes ( discount_codes_id int(11) NOT NULL auto_increment, products_id text, categories_id text, manufacturers_id text, excluded_products_id text, customers_id text, orders_total tinyint(1) NOT NULL default '0', order_info tinyint(1) NOT NULL default '0', discount_codes varchar(8) NOT NULL default '', discount_values varchar(8) NOT NULL default '', minimum_order_amount decimal(15,4) NOT NULL default '0.0000', expires_date date NOT NULL default '0000-00-00', number_of_orders int(4) NOT NULL default '0', number_of_use int(4) NOT NULL default '0', number_of_products int(4) NOT NULL default '0', `status` tinyint(1) NOT NULL default '1', PRIMARY KEY (discount_codes_id) ); Hopefully now i can try out the addon and see if everything else functions ok
  25. wijnendael

    Discount Code

    Well still have a problem, now i can install the module but when i go to catalog and select discount code i get the following error in the page: Discount Codes Discount Code Applies to Discount Min Order Amt Expiry Orders Status Action 1054 - Unknown column 'dc.manufacturers_id' in 'field list' select dc.discount_codes_id, dc.products_id, dc.categories_id, dc.manufacturers_id, dc.excluded_products_id, dc.orders_total, dc.order_info, dc.discount_codes, dc.discount_values, dc.minimum_order_amount, dc.expires_date, dc.number_of_orders, dc.number_of_use, dc.number_of_products, dc.status from discount_codes dc order by dc.discount_codes_id desc limit 0, 20 Anybody tell me what this means, looks like i still doing something wrong but getting there, i did the mods to the database !
×