TC5.5 Tiny_mce editor missing in firefox & chrome

TC5.5 Tiny_mce editor missing in firefox & chrome

This question is answered

Something strange is happening to our TC5.5 installation. The TinyMCE editor is only showing in IE. In both Chrome and Firefox a standard textarea is showing and all references to the tinymce.js file is missing.

We are logged in with the same user.

Any ideas are most appreciated!

Thanks,
Anders V. 

Verified Answer
  • Have you made any changes to App_Browsers ?  You also haven't managed to configure your user account to use the plain text editor over the rich text editor?

  • Hi Anders,

    We experienced the same issue when we started running under ASP.NET 4.0. Did you happen to make that change when you upgraded? There is an issue with the way the browser type is being detected when using 4.0.

    We were able to correct the issue by overriding the base TinyMCE wrapper. Let me know if that is your issue and I'll give you more info on what we had to do.

  • Hi Todd,

    Are you running Telligent Community 5.5/5.6 under ASP.NET 4.0? If so, can you reference any documentation to set this up? Thanks...

    Eralp

  • Hi Eralp,

    We are running 5.5 under 4.0 but I don't think that it is "officially supported". We have found a few issues that we have been able to overcome with some custom code but for the most part it has been running great for us.

  • Todd,

    Thanks for sharing that information. I'd read somewhere that it wasn't supported. I had plans to use EF4 instead of NHibernate for development on the platform but given the limited support we get from Telligent, customization just to get it running under ASP 4.0 is not too appealing. I still hope you'll be able to share some details on the extent of customization you've made to accomplish this. I've attempted once to do this and could not get past the web.config changes.

  • That is correct - Telligent Community 5.x is not supported on asp.net 4.0.  We have not done any testing against this environment and so cannot provide any guarantees that our software will work as expected in such an environment.

    Sent from my iPhone

    On 26 Jan 2011, at 18:09, "Eralp Pinardag" <bounce-Eralp@communities.telligent.com> wrote:

    Todd,

    Thanks for sharing that information. I'd read somewhere that it wasn't supported. I had plans to use EF4 instead of NHibernate for development on the platform but given the limited support we get from Telligent, customization just to get it running under ASP 4.0 is not too appealing. I still hope you'll be able to share some details on the extent of customization you've made to accomplish this. I've attempted once to do this and could not get past the web.config changes.

  • We are running a highly customized version of TC5.5. However, all customizations have been external to the core dlls. We have overridden a couple of the providers in the config files but all core dlls are OOTB. We are actually trying to get back to being closer to OOTB and removing some of the customizations that were required with 5.0 and no longer required in 5.5 and greater because of new features is those versions.

  • I see. Thank you guys both for sharing information on this.

  • Hi Todd, now that you mention it we are running under ASP.NET 4.0. What did you do?

    Thanks.

  • Basically, you will need to override the "Enhanced" editor that TC uses. What we did was copy the code from the CommunityServer.Controls.TinyMCE object in the 5.5 SDK. The issue is occurring in the "IsSupported" method where the hard coded browser names are. You will need to change the line that reads...

    if (browser.IsBrowser("Gecko"))

    to

    if (browser.IsBrowser("Gecko") || browser.IsBrowser("FireFox"))

    That is what worked for us. The line number is 106 in the 5.5 SDK.

    Next you will need to add the override to the CommunityServer_Override.config file. Something like this...

    <Override xpath="/CommunityServer/Core/editors/editor[@name='Enhanced']" mode="change" name="type" value="MyCustomTCLib.MyTinyMCE, MyCustomTCLib" />

    If you need more than this just DM me and we can discuss in more detail.

    Please just remember Alex's comment above that TC5.5 has not been tested with 4.0 and is not officially supported when using 4.0. So if you plan to request Telligent support you should revert back to 3.5.

    Good Luck!

  • Thanks Todd, that is working for us. Any idea why they have limited it to certain browsers? There must be some specific functionality that will fail.

    Best,

    Anders

  • I assume that it is just that there are incompatibilities with TinyMCE and those certain browsers.

  • Thanks Todd that worked for us saved a lot of time.

All Replies
  • Have you made any changes to App_Browsers ?  You also haven't managed to configure your user account to use the plain text editor over the rich text editor?

  • Hi Anders,

    We experienced the same issue when we started running under ASP.NET 4.0. Did you happen to make that change when you upgraded? There is an issue with the way the browser type is being detected when using 4.0.

    We were able to correct the issue by overriding the base TinyMCE wrapper. Let me know if that is your issue and I'll give you more info on what we had to do.

  • Hi Todd,

    Are you running Telligent Community 5.5/5.6 under ASP.NET 4.0? If so, can you reference any documentation to set this up? Thanks...

    Eralp

  • Hi Eralp,

    We are running 5.5 under 4.0 but I don't think that it is "officially supported". We have found a few issues that we have been able to overcome with some custom code but for the most part it has been running great for us.

  • Todd,

    Thanks for sharing that information. I'd read somewhere that it wasn't supported. I had plans to use EF4 instead of NHibernate for development on the platform but given the limited support we get from Telligent, customization just to get it running under ASP 4.0 is not too appealing. I still hope you'll be able to share some details on the extent of customization you've made to accomplish this. I've attempted once to do this and could not get past the web.config changes.

  • That is correct - Telligent Community 5.x is not supported on asp.net 4.0.  We have not done any testing against this environment and so cannot provide any guarantees that our software will work as expected in such an environment.

    Sent from my iPhone

    On 26 Jan 2011, at 18:09, "Eralp Pinardag" <bounce-Eralp@communities.telligent.com> wrote:

    Todd,

    Thanks for sharing that information. I'd read somewhere that it wasn't supported. I had plans to use EF4 instead of NHibernate for development on the platform but given the limited support we get from Telligent, customization just to get it running under ASP 4.0 is not too appealing. I still hope you'll be able to share some details on the extent of customization you've made to accomplish this. I've attempted once to do this and could not get past the web.config changes.

  • We are running a highly customized version of TC5.5. However, all customizations have been external to the core dlls. We have overridden a couple of the providers in the config files but all core dlls are OOTB. We are actually trying to get back to being closer to OOTB and removing some of the customizations that were required with 5.0 and no longer required in 5.5 and greater because of new features is those versions.

  • I see. Thank you guys both for sharing information on this.

  • Hi Todd, now that you mention it we are running under ASP.NET 4.0. What did you do?

    Thanks.

  • Basically, you will need to override the "Enhanced" editor that TC uses. What we did was copy the code from the CommunityServer.Controls.TinyMCE object in the 5.5 SDK. The issue is occurring in the "IsSupported" method where the hard coded browser names are. You will need to change the line that reads...

    if (browser.IsBrowser("Gecko"))

    to

    if (browser.IsBrowser("Gecko") || browser.IsBrowser("FireFox"))

    That is what worked for us. The line number is 106 in the 5.5 SDK.

    Next you will need to add the override to the CommunityServer_Override.config file. Something like this...

    <Override xpath="/CommunityServer/Core/editors/editor[@name='Enhanced']" mode="change" name="type" value="MyCustomTCLib.MyTinyMCE, MyCustomTCLib" />

    If you need more than this just DM me and we can discuss in more detail.

    Please just remember Alex's comment above that TC5.5 has not been tested with 4.0 and is not officially supported when using 4.0. So if you plan to request Telligent support you should revert back to 3.5.

    Good Luck!

  • Thanks Todd, that is working for us. Any idea why they have limited it to certain browsers? There must be some specific functionality that will fail.

    Best,

    Anders

  • I assume that it is just that there are incompatibilities with TinyMCE and those certain browsers.

  • Thanks Todd that worked for us saved a lot of time.