Jump to content


Smiles in editor


  • You cannot reply to this topic
5 replies to this topic

#1 LemonTie

    Etomite Forum Newbie

  • Member
  • 9 posts

Posted 03 April 2007 - 10:53 PM

Hi fellas.

First of all I must say that Etomite is really the best CMS I ever saw!! EVER!!! It's simple, yet powerful, intuitive and it works as well. Really good job fellas!!! :rolleyes:

Here is a deal. I was editing some document that I have, when noticed that I can actually add smilies into the document (DUH!) :D I did so. Well.. here is the deal. In the editor and in preview window I can see the icons. But when going to actual page, I see the "alt" text instead. When checked things out, I figured that editor uses partially wrong url. The url is like
media/tinymce/jscripts/tiny_mce/plugins/emotions/images/smiley-smile.gif
while it should be like

/manager/media/tinymce/jscripts/tiny_mce/plugins/emotions/images/smiley-smile.gif
or at least
manager/media/tinymce/jscripts/tiny_mce/plugins/emotions/images/smiley-smile.gif
I.e. the url is relative to manager, which can be installed anywhere.
Is there any way to fix it?
Thanks!


#2 Dean

    Loves Etomite Forums!

  • Admin
  • 4,758 posts
  • Gender:Male

Posted 03 April 2007 - 10:59 PM

Hmmm - no fix yet.
Ralph's in the process of updating TinyMCE that is distributed with Etomite.

#3 LemonTie

    Etomite Forum Newbie

  • Member
  • 9 posts

Posted 04 April 2007 - 01:49 PM

View PostDean, on Apr 3 2007, 10:59 PM, said:

Hmmm - no fix yet.
Ralph's in the process of updating TinyMCE that is distributed with Etomite.
I seel... Well. Perhaps I'll try to fix it myself - it shouldn't be such a big deal, I think :blink:
Thanks anyway :rolleyes:

#4 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,524 posts
  • Gender:Male

Posted 04 April 2007 - 01:53 PM

View PostLemonTie, on Apr 4 2007, 09:49 AM, said:

I seel... Well. Perhaps I'll try to fix it myself - it shouldn't be such a big deal, I think :blink:
Thanks anyway :rolleyes:
Here's a hint... It has to do with relative paths... There might even be an Etomite configuration setting that might resolve your problem without modifying any code... Check the Etomite configuration panel first...

#5 LemonTie

    Etomite Forum Newbie

  • Member
  • 9 posts

Posted 05 April 2007 - 11:37 AM

View PostRalph, on Apr 4 2007, 01:53 PM, said:

Here's a hint... It has to do with relative paths... There might even be an Etomite configuration setting that might resolve your problem without modifying any code... Check the Etomite configuration panel first...

Thanks Ralph. I'll check this out. If I find something, I'll post it here.

#6 LemonTie

    Etomite Forum Newbie

  • Member
  • 9 posts

Posted 09 April 2007 - 07:50 PM

I found solution for the problem. It's not really a solution, but a workaround. Anyway it works.
Go to Etomite Configuration, choose Interface & Editor Settings tab, and in Strip base url: choose no. This makes tinymce to put full url for images and other stuff.

As for more solid solution... I tracked the url up until inserthtml call in tiny_mce_src.js:5550. The value used with inserthtml still contains full url. So it must be somewhere later. Hope this helps.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users