tobes Posted June 12, 2011 Share Posted June 12, 2011 Hi,I've just finished upgrading a customer's site to 1.4.2 and I've noticed a slight oddity. The system tools (catalog edits, CMS, etc) appear to use a newer WYSIWYG editor found in /js/tiny_mce. However several modules seem to still be using the older editor /js/tinymce. As the older editor seems to lack the photo management of the new one, I'd like to update the modules' editor.I can't however see a setting for it and a quick look through the module code didn't reveal any references to tinymce.Can anyone give me some pointers on where to start, please?Cheers.--Toby Link to comment Share on other sites More sharing options...
tobes Posted June 12, 2011 Author Share Posted June 12, 2011 Ooops, should have looked harder! It was in classes directory within the module!I replaced the inclusions of the tinymce scripts and the tinyMCEInit () function with the following: echo '[removed] var iso = "en" ; var pathCSS = "*path to your themes css folder*" ; var ad = "/*name of your admin foleder*" ; [removed] [removed][removed] [removed][removed]'; I expect that there are definitions to set the three variables set up first, but it being 10pm on a Sunday night, I must confess I just hardcoded them...Hope this helps someone else update their modules!--T Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now