Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

TinyMCE


Corneloues

Recommended Posts

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

Link to comment
Share on other sites

recheck the installation steps, as I can guarantee that this contribution is working without any problems.

Edited by web-project

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...