Smiley Emoticons in V2.3.5.8

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
12/21/2010 5:48:44 PM
Gravatar
Total Posts 9

Smiley Emoticons in V2.3.5.8

Vista, SQL Server 2008, V2.3.5.8, .net40

I have just upgraded from 2.3.5.5 to fix the emoticon problem. Unfortunately it still seems to exist in all editors, tinymce, ck and fck. Seems when an emoticon is put on the page it creates a relative url to the gif under /Data/SiteImages/emoticons. If I edit the source and manually type in a fully qualified url to the gif it shows up. The relative url does not seem to be able to find the emoticons in the location they are at. I have checked Data folder security and have given all users full control so I don't think it is a permission issue. I know this is a minor issue but I am testing CMS systems and want to use mojoPortal. I know users will need these silly things to work. If there is an interim fix besides manually editing the source please pass along. The following is some source html that show the difference between gifs that show and gifs that don't. Thank you.

<p><img title="Tongue out" border="0" alt="Tongue out" src="http://localhost/SscIntranet/ClientScript/tiny_mce3392/plugins/emotions/img/smiley-tongue-out.gif" />&#160;<img title="Cry" border="0" alt="Cry" src="/Data/SiteImages/emoticons/tinymce/smiley-cry.gif" />&#160;<img title="Cry" border="0" alt="Cry" src="http://localhost/SscIntranet/Data/SiteImages/emoticons/tinymce/smiley-cry.gif" />&#160;<img title="sad" alt="sad" src="http://localhost/SscIntranet/Data/SiteImages/emoticons/sad_smile.gif" />&#160;<img alt="" src="/Data/SiteImages/emoticons/sad_smile.gif" /></p>
 

12/22/2010 9:52:52 AM
Gravatar
Total Posts 18439

Re: Smiley Emoticons in V2.3.5.8

Hi Wendell,

Thanks for the bug report. I was able to reproduce and fix this problem. Basically it was not resolving the relative url correctly when running in a virtual directory (it worked fine in root sites). This is now fixed in our source code repository if you are working with the source code. If not a workaround you could use, is use CKeditor and then edit the file /ClientScript/ckeditor-mojoconfig.js

change this line:

config.smiley_path = '/Data/SiteImages/emoticons/';

like this to reflect your sub directory

config.smiley_path = /SscIntranet/Data/SiteImages/emoticons/';

Note that this is just a workaround for the current version and your installation, the real fix is different and is done from C# code and is fixed now in our source code repository for all 3 editors.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.