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.

02 Dec01:40

Interesting

By Anon (not verified)

Interesting

30 Jan02:24

My company has been working

By Ted Hust (not verified)

My company has been working with Miva Merchant for over 10 years now, and I'd never use anything else.  The problem with oscommerce is just what you said, being PHP based, it's file and code heavy all over the place.  With Miva Merchant, while the modules and add-ons aren't free, they are SUPERIOR in the way they function, install and they're actually supported and backed by the companies that build/sell them.

We host miva sites, so if you ever wanted to test drive the backend, I'd be happy to let you into our test admin.  It's crazy easy to use, and forget the days of having to sift through 3-5 files just to update an image in your header or what not.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
 

Find me on

My tweets