Fckeditor emoticons path is ignored

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.
5/16/2011 9:56:36 AM
Gravatar
Total Posts 251

Fckeditor emoticons path is ignored

Hi, I upgraded an old mojoPortal (2.3.5.3) to the latest 2.3.6.5

From a very long time, I used to change the smileys path and add new images to ClientScripts/mojofckconfig.js

After the upgrade, when I click the smileys button, the new layout with new images appear, (i set different width and different rows) but the path is changed to /Data/SiteImages/emoticons

How's that possible?

5/17/2011 6:29:11 AM
Gravatar
Total Posts 18439

Re: Fckeditor emoticons path is ignored

We set that path from code in all the editors because it used to be a problem where people would upgrade mojoPortal and it would get a new version of the editor with a new path and later they would delete the old versions of the editors and it would break emoticon urls because the files would no longer exist at the old path. So we implemented a common location to keep them.

Can't you add your custom emoticons to this path?

Best,

Joe

5/17/2011 8:01:32 AM
Gravatar
Total Posts 251

Re: Fckeditor emoticons path is ignored

Because I changed the images, and set up the server to give a much longer expiration date for that folder, also my mojofckconfig.js is symlinked to all the mojoportals in my server to redirect to a common path.

Anyway, i set up a 301 redirect for that folder, the problem is "workarounded" smiley

5/17/2011 8:42:20 AM
Gravatar
Total Posts 18439

Re: Fckeditor emoticons path is ignored

I will make it possible in the next release for you to override the path by adding this to user.config

<add key="FCKeditor:EmoticonsPath" value="~/Data/SiteImages/emoticons/"/>

so you could point to a custom folder. You can go ahead and set it now and it will start working after the next release.

Best,

Joe

5/17/2011 9:06:45 AM
Gravatar
Total Posts 251

Re: Fckeditor emoticons path is ignored

Awesome! surprise laugh yes

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