OsCommerce

TinyMCE wysiwyg and TinyBrowser file upload plugin

I'm working on an osCommerce project. I can't believe people use something like osCommerce. Installing modules means manually editing various files... Nasty. Don't like it a bit.

I had to add TinyMCE to the textarea for pages and product descriptions and needed the capability to add images and resize them, plus uploading various files.

If you're looking for the same thing, I recommend using Tinybrowser plugin. There are a few other options available, but I liked this one best.

Unzip and copy the folder in the plugins folder of your tinymce installation. Than include tiny_mce/plugins/tinybrowser/tb_tinymce.js.php along with the main tinymce js file.

Edit the config_tinybrowser.php file so that the upload directories are valid (usually /images/uploads/)

Now, you only need to edit the init js code and add tinybrowser to the list of plugins and buttons:

file_browser_callback : 'tinyBrowser',
plugins: 'tinyBrowser,advimage',

Now, everything is set-up and ready to go.

If you want to link to files, click the link Icon and you will see a smal icon in the pop-up window that you can click and upload files.