Corneloues Posted March 28, 2008 Posted March 28, 2008 I've just added TinyMCE to my current shop development. I have placed the tiny_mce folder in my /admin/includes/javascript/ folder. I have added the following to my /admin/categories.php, /admin/mail.php and /admin/newsletters.php: <!-- TinyMCE --> <script language="javascript" type="text/javascript" src="includes/javascript/tiny_mce/tiny_mce.js"></script> <script language="javascript" type="text/javascript"> tinyMCE.init({ mode : "textareas" }); </script> <!-- TinyMCE --> This has been inserted immediately below the following line: <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> However when editing a product, creating and e-mail or a newsletter TinyMCE does not appear. I have tried samples locally and from their web site and know that it works on this PC and that Javascript enablement is not a problem. I've tried hard coding the path with /admin/ in front of the src="includes/..." but this has no effect either. Note: I do not have a catalog folder as my shop is in the root folder. TinyMCE should be a doddle to install. I've obviously misseed something. Has anybody esle experienced this? Cheers, Roy Quote
web-project Posted March 28, 2008 Posted March 28, 2008 (edited) recheck the installation steps, as I can guarantee that this contribution is working without any problems. Edited March 28, 2008 by web-project Quote Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you.
Corneloues Posted March 28, 2008 Author Posted March 28, 2008 recheck the installation steps, as I can guarantee that this contribution is working without any problems. I have... It's not exactly difficult ;) I've even trimmed the TinyMCE init code down to bare minimum. I'm also using the latest TinyMCE which works when run locally. I can only think it's a path issue, but cutting the path out of the HTML source and putting it in the browser finds the .js file... I'm confused... Cheers, Roy Quote
Corneloues Posted March 29, 2008 Author Posted March 29, 2008 this is really starting to bug me now... There is no reason why this shouldn't work. I've even uploaded the examples that come with TinyMCE to http://www.essexdj.com/examples/ but I still can't get it to work. Any ideas at all...? Cheers, Roy Quote
Corneloues Posted March 29, 2008 Author Posted March 29, 2008 Sorted... After taking a step back I looked at my error log on cPanel and found a couple of files that hadn't been uploaded correctly as they were giving errors. After re-uploading the whole package, I can report that TinyMCE is working properly. Cheers, Roy Quote
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.
Note: Your post will require moderator approval before it will be visible.