Inline editing

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
4/16/2014 3:22:56 AM
Gravatar
Total Posts 52

Inline editing

Hi,

I have recently discover that in some of my sites inline editing does not work al of them are hosted in the same machine with this configuration:

  • mojoPortal 2.3.9.7
  • MSSQL 2012
  • Microsoft Windows NT 6.2.9200.0
  • ASP.NETv4.0.30319 Full Trust

Out of eight sites

  • Three of them work correctly.
  • On one site the lock/unlock icon does not change and the editor's toolbar is not shown but you can still edit the text.
  • The other four do nothing when you click the inline icon.

I am sure that the four sites that don't work at all have an skin problem. I have changed the skin to one of the standard ones and worked. I have checked the "Important Skin Changes" post  and reviewed the skins, but I don't find what I am missing. What should I check in the skins?

With the other site, the one that does not toggle the icon neither show the toolbar, but can edit, I have changed the skin to a standard one but it still behaves this way.

Thanks,

Carlos

4/16/2014 8:14:21 AM
Gravatar
Total Posts 18444

Re: Inline editing

you should look for javascript errors in the page and figure out what is the cause on a case by case basis and fix them, anything else is just guessing.

also it can depend on whether they are using CKeditor or TinyMCE, you are not using the latest version of mojoPortal, so upgrading may help. We first has inline editing in CKeditor only later was it added for TinyMCE.

4/16/2014 6:08:20 PM
Gravatar
Total Posts 52

Re: Inline editing

Hi,

I have found that this two lines are required for inline editing:

    <portal:ScriptLoader ID="ScriptLoader1" runat="server" IncludeJQueryMigrate="true" />
    <portal:SkinFolderScript ID="sfs1" runat="server" ScriptFileName="script.js" AddToCombinedScript="true" />

An if IncludeJQueryMigrate is set to false it won't work.

Thanks

4/17/2014 9:36:30 AM
Gravatar
Total Posts 18444

Re: Inline editing

yes that is needed for many older skins as discussed in Important Skin Changes, it is not directly related to the editor except that even unrelated script errors on the page will break the editor, and without that there will be script errors in older skins

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