waitsee Posted October 11, 2003 Share Posted October 11, 2003 Hi ! I have installed this contribution but it don't work, there comes a link "HTML WYSIWYG Editor" and I can change settings but I can't see any editor in categories or products page except that usual textarea... In install.txt there is this line: "By adding a few simple lines of JavaScript to your categories.php and application_top.php" and so on... but there is no mention about modifying this application_top.php later... The same for me. In /catalog/admin.configuration.php I can see the the WISYWYG editor 1.7, and I enabled it, for the newsletters. But When I go to Tools>Newsletters, I don't know how to create/send a html-newsletter. Please help! I presume it is a very very good contribtion and I really am eager to use it! Quote Link to comment Share on other sites More sharing options...
waitsee Posted October 12, 2003 Share Posted October 12, 2003 In /catalog/admin.configuration.php I can see the the WISYWYG editor 1.7, and I enabled it, for the newsletters. But When I go to Tools>Newsletters, I don't know how to create/send a html-newsletter. Please help! I presume it is a very very good contribtion and I really am eager to use it! My question: how to send html-newsletters with pictures? Quote Link to comment Share on other sites More sharing options...
waitsee Posted October 12, 2003 Share Posted October 12, 2003 I forgot to upload the html-area in admin. Now after doing that, I see the html-menu-option in the tools>newesletter. But............................ the only active button is "Large Editor'. When I am in "Large Editor", all buttons are active exept the button "Minimize Editor". In the large editor I can html-format the text and insert an image. But I can't go to the normal Editor-size and so I can't send the newsletter. How to fix it? I think my Java- Virtual-Machine is corrupted, cause I can't display some sites that use jsp-files. But I can't fix that because I can't reach www.sun.com Who can help? Quote Link to comment Share on other sites More sharing options...
azer Posted October 12, 2003 Share Posted October 12, 2003 hello all , one member of the french (speedline) forum gave us this info: if u wanan add other commands goto : http://msdn.microsoft.com/workshop/author/.../commandids.asp because javascript use : execCommand() de IE. Quote MS2 Link to comment Share on other sites More sharing options...
waitsee Posted October 13, 2003 Share Posted October 13, 2003 Done! I uploaded the WYSIWYG-files and all works fine. The modifications earlier made in the files have to be redone. But the HTML WYSIWYG is worth the extra work! Bye. :D Quote Link to comment Share on other sites More sharing options...
dazza76 Posted October 17, 2003 Share Posted October 17, 2003 mine is set in https mode only is there any way in the wysiwyg to stop the display no secure items. apart from that it is great. i also cant seem to find what is loaded in normal mode. cheers dazz :unsure: Quote Link to comment Share on other sites More sharing options...
vanpuffelen Posted October 17, 2003 Share Posted October 17, 2003 Hi, After adding this installation I cannot use the function to ad products to my shop thru the admin panel, when I click the button Atricles/groups I get the following error message Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/gameorde/public_html/catalog/admin/includes/functions/database.php:13) in /home/gameorde/public_html/catalog/admin/includes/functions/database.php on line 13 Could anyone help me to fix this Quote Link to comment Share on other sites More sharing options...
TomThumb Posted October 19, 2003 Share Posted October 19, 2003 Hi all, i'm working with wysiwyg v1.6.6 Beta. Everything works (almost) fine, but when i want to send a newsletter, i get an error: Fatal error: Cannot redeclare class newsletter in /home/maarten/public_html/winkel3/admin/includes/modules/newsletters/newsletter.php on line 13 Does anyone can tell me how i can fix this problem? greets, Maarten Maarten, Did you ever get this figured out? I am having the same problem. Cannot redeclare class newsletter in /.../newsletter.php on line 13. Any ideas? Quote while (!succeed) {try()}; GMT -6:00 Link to comment Share on other sites More sharing options...
osjunkie Posted October 20, 2003 Share Posted October 20, 2003 If you install the InfoPages v0.1 (2003/03/02) mod look out! It will screw up WYSIWYG. I have confirmed the conflict between the two, but I can't figure a way to make them work together. If I go in and comment out the code for infopages in application_top.php, column_left.php, and configure.php in admin then I can browse and upload pictures. With infopages enabled when you go to upload a picture it is saying ... See bottom of post. How to fix? I've been on this for 3 hours now...I am doing to kill myself now and go to sleep. Maybe someone would be kind enough to leave me a nice little wakeup solution to this problem. This is the last bug I have to work out in a perfect install with 24 additional contributions installed. Some stuff from the install of InfoPages as follows: Add changes to the following files =========================================================== ## ADMIN AREA ## =========================================================== includes/configure.php: // Module: InfoPages require(DIR_WS_MODULES . 'infopages/configure.php'); ----------------------------------------------------------- includes/application_top.php: // Module: InfoPages require(DIR_WS_INFOPAGES . 'application_top.php'); ----------------------------------------------------------- includes/column_left.php: // Module: InfoPages require(DIR_WS_INFOPAGES . 'boxes/infopages.php'); The error when opening the file browser/display window to upload a picture... Warning: main (includes/modules/infopages/configure.php): fail to open stream: No such file/directory in home/spyder/public_html/catalog/admin/includes/ configure.php on line 39 I love you all! HELP ME!!! Plz!! My last bug! :blink: Quote Link to comment Share on other sites More sharing options...
♥Gyakutsuki Posted October 20, 2003 Share Posted October 20, 2003 This script doesn't work on macintosh with IE. Do you have a solution ? Quote Regards ----------------------------------------- Loïc Contact me by skype for business Contact me @gyakutsuki for an answer on the forum Link to comment Share on other sites More sharing options...
Guest Posted October 21, 2003 Share Posted October 21, 2003 If you install the InfoPages v0.1 (2003/03/02) mod look out! It will screw up WYSIWYG. I have confirmed the conflict between the two, but I can't figure a way to make them work together. If I go in and comment out the code for infopages in application_top.php, column_left.php, and configure.php in admin then I can browse and upload pictures. With infopages enabled when you go to upload a picture it is saying ... See bottom of post. How to fix? I've been on this for 3 hours now...I am doing to kill myself now and go to sleep. Maybe someone would be kind enough to leave me a nice little wakeup solution to this problem. This is the last bug I have to work out in a perfect install with 24 additional contributions installed. Some stuff from the install of InfoPages as follows: Add changes to the following files =========================================================== ## ADMIN AREA ## =========================================================== includes/configure.php: // Module: InfoPages require(DIR_WS_MODULES . 'infopages/configure.php'); ----------------------------------------------------------- includes/application_top.php: // Module: InfoPages require(DIR_WS_INFOPAGES . 'application_top.php'); ----------------------------------------------------------- includes/column_left.php: // Module: InfoPages require(DIR_WS_INFOPAGES . 'boxes/infopages.php'); The error when opening the file browser/display window to upload a picture... Warning: main (includes/modules/infopages/configure.php): fail to open stream: No such file/directory in home/spyder/public_html/catalog/admin/includes/ configure.php on line 39 I love you all! HELP ME!!! Plz!! My last bug! :blink: basically, it's opening the wrong file. for your specific installation, change: // Module: InfoPages require(DIR_WS_MODULES . 'infopages/configure.php'); to: // Module: InfoPages require('modules/infopages/configure.php'); this is a quick fix, but it did the job. Quote Link to comment Share on other sites More sharing options...
beyond3000 Posted October 21, 2003 Share Posted October 21, 2003 hey i just followed _Easy_MS1_ Installation.txt installed everything on my website but i got this error when i try to access catalog from administrator control panel Fatal error: Call to undefined function: tep_array_merge() in c:\inetpub\wwwroot\catalog\admin\categories.php on line 714 Can anyone plz tell me what's wrong? i am using oscommerce 2.2ms2 and HTML WYSIWYG v1.6.6 Beta Someone plz help!!!! Quote Link to comment Share on other sites More sharing options...
beyond3000 Posted October 21, 2003 Share Posted October 21, 2003 Quote Link to comment Share on other sites More sharing options...
dpodolsky Posted October 21, 2003 Share Posted October 21, 2003 You probably have version MS2 of oscommerce and this is released for MS1. To remedy your situation do this: replace categories with your old categories from MS2. The read the step by step instructions and just add in the lines in step 1.1 and 1.2 to your new categories.php. That should work. If you want to be safe you should do this also for the other files in the release. dWP Quote Link to comment Share on other sites More sharing options...
osjunkie Posted October 21, 2003 Share Posted October 21, 2003 Fix for Info pages If you installed infopages your html editor is not able to upload pictures due to conflict with the definition in configure.php in admin/includes. Fix it by changing it to this. // Module: InfoPages #require(DIR_WS_MODULES . 'infopages/configure.php'); require('modules/infopages/configure.php'); Have great day! Quote Link to comment Share on other sites More sharing options...
beyond3000 Posted October 23, 2003 Share Posted October 23, 2003 A quick question for you guys, i am currently using WYSIWYG HTMLArea1.6.6 how do i upgrade to 1.7 1 more quesion is HTML_WYSIWYG_SQL.sql in 1.6.6 same as the one in 1.7 if not how do i use phpmyadmin to delete the old HTML_WYSIWYG_SQL.sql file. Thank you very much Quote Link to comment Share on other sites More sharing options...
beyond3000 Posted October 23, 2003 Share Posted October 23, 2003 Is this a error on installation instruction? on the step by step instruction says STEP 1.1g --> FIND: /admin/categories.php =========================================================================== ========= Look/search for this around line 1051: =========================================================================== ========= } else { // create category/product info $heading[] = array('text' => '<b>' . EMPTY_CATEGORY . '</b>'); $contents[] = array('text' => TEXT_NO_CHILD_CATEGORIES_OR_PRODUCTS); } break; } if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) { echo ' <td width="25%" valign="top">' . "\n"; $box = new box; echo $box->infoBox($heading, $contents); echo ' </td>' . "\n"; } ?> =========================================================================== ========= [COLOR=red]And directly UNDERNEATH IT add this:[/COLOR] =========================================================================== ========= } else { // create category/product info $heading[] = array('text' => '<b>' . EMPTY_CATEGORY . '</b>'); $contents[] = array('text' => TEXT_NO_CHILD_CATEGORIES_OR_PRODUCTS); } break; } if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) { echo ' <td width="25%" valign="top">' . "\n"; $box = new box; echo $box->infoBox($heading, $contents); echo ' </td>' . "\n"; // Add neccessary JS for WYSIWYG editor of category image if($action=='edit_category'){ if (HTML_AREA_WYSIWYG_DISABLE != 'Disable'){ echo ' <script language="JavaScript1.2" defer> var config = new Object(); // create new config object config.width = "250px"; config.height = "35px"; config.bodyStyle = "background-color: white; font-family: Arial; color: black; font-size: 12px;"; config.debug = ' . HTML_AREA_WYSIWYG_DEBUG . '; config.toolbar = [ ["InsertImageURL"] ]; config.OscImageRoot = "' . trim(HTTP_SERVER . DIR_WS_CATALOG_IMAGES) . '"; editor_generate("categories_image",config); </script> '; } } } And directly UNDERNEATH IT add this: do you suppose to replace the code instead of adding it underneath? Quote Link to comment Share on other sites More sharing options...
beyond3000 Posted October 23, 2003 Share Posted October 23, 2003 First of all, let me say this is the best contribution i have ever seen Great work for all you guys. but let me ask a dumb question: my original image which look like this but after i load it up with WYSIWYG EDITOR or without it look like this The image is automatically resized. how can i make it look like my original picture? can WYSIWYG do it? or is there a setting from oscommerce or is there a contribustion that can do it? can someone tell me in detail please, i am kind of dumb. Thank you very much Quote Link to comment Share on other sites More sharing options...
waitsee Posted October 23, 2003 Share Posted October 23, 2003 Go to your catalog/admin and select "Images". Then delete the values after Small Image Height, Heading Image Height etc. This will solve your problem ( I think). Bye from a cold but sunny Netherlands. Quote Link to comment Share on other sites More sharing options...
beyond3000 Posted October 23, 2003 Share Posted October 23, 2003 thanks waitsee! this has solved my problem, but i have another question for you, when i click on the "click to enlarge" the picture shows up in a pop up window but it's the same size as the original one. i have the larger size of the picture, but i don't know where to upload? i don't see there is any function for upload enlarge picture. can you help me out plz? Quote Link to comment Share on other sites More sharing options...
LuxorN Posted October 28, 2003 Share Posted October 28, 2003 hello... i've tried to set up the wysiwyg-editor 1.7 on my ms2 osc-shop. i've tried the fresh copy&paste-install as well as the step-by-step-instructions. my problem is: when i'm in the admin-interface, i can't find anything to config the wysiwyg. usually there should be something like "enable wysiwyg" or "width" ans so on, shouldn't it? the import into the database was successfull, all entries are there. the textboxes are still the normal html-boxes. what went wrong during my install? thx, LuxorN Quote Link to comment Share on other sites More sharing options...
LuxorN Posted October 28, 2003 Share Posted October 28, 2003 fixed it... now i can configure wysiwyg-editor and i can use ist for newsletters, mainpage and email. but the product-description has still the normal boxes. i think i will read the 38 pages of this thread now... :( Quote Link to comment Share on other sites More sharing options...
LuxorN Posted October 28, 2003 Share Posted October 28, 2003 ok, found out... thx for this great contribution... :wub: Quote Link to comment Share on other sites More sharing options...
Guest Posted October 28, 2003 Share Posted October 28, 2003 :rolleyes: Quote Link to comment Share on other sites More sharing options...
♥Gyakutsuki Posted October 31, 2003 Share Posted October 31, 2003 I am on ms2 but when i want to upload a image (on my desk computer), i have a response : "you can't upload". how can i solve this problem. All my directory in ctalog/image are in write. Quote Regards ----------------------------------------- Loïc Contact me by skype for business Contact me @gyakutsuki for an answer on the forum Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.