Online Page Editor Add-on Support Product Page

Answered

I cannot get the editor to work. DMW 5.5 iMAC/ mountain Lion

Asked 11 May 2013 17:03:18
1
has this question
11 May 2013 17:03:18 Charles Browne posted:
I have recently installed the online editor. The online editor does not appear using - ctrl + '\'.
site: www.eskdalebenefice.org.uk/vicarageletter.html
Scaramouche/Raphael4ges
file permissions are set '666'
As far as I can see all the files are on the remote server.
I would be grateful for your help
thanks
Charles

Replies

Replied 12 May 2013 19:03:13
12 May 2013 19:03:13 Vulcho Vulev replied:
Hello Charles.

Currently the server responds with 404 Not Found for the page provided.

Regards:Vulcho.
Replied 12 May 2013 19:19:10
12 May 2013 19:19:10 Charles Browne replied:
try www.eskdalebenefice.org.uk/Vicarageletter.html for some reason I capitalised the file name
Charles
Replied 13 May 2013 06:45:24
13 May 2013 06:45:24 Vulcho Vulev replied:
Hello Charles.

For some reason you applied custom coding which currently is breaking the script of the extension.

<script type="text/xml">
<!--
<oa:widgets>
  <oa:widget wid="2272530" binding="#OAWidget" />
</oa:widgets>
-->
  /* dmxPageEditor name "dmxPageEditorGlobals" */
  jQuery(document).ready(
   function()
     {
       jQuery("body").dmxPageEditor(
         {"activationKey": "ctr+\\", "editDreamweaverRegions": false, "editableRegionsList": "onlineedit", "securityMethod": "login", "actionUrl": "dmxPageEditor.php", "currentPage": "/Vicarageletter.html", "editorConfig": {"textColor": "#0000FF", "bgColor": "#FFFFCC", "uploadProcessor": "php", "iconSet": "modern", "skin": "blue", "locale": "en"}}
       );
     }
 );
  /* END dmxPageEditor name "dmxPageEditorGlobals" */</script>


Should become:

<script type="text/xml">
<!--
<oa:widgets>
  <oa:widget wid="2272530" binding="#OAWidget" />
</oa:widgets>
-->
</script>
<script type="text/javascript">
  /* dmxPageEditor name "dmxPageEditorGlobals" */
  jQuery(document).ready(
   function()
     {
       jQuery("body").dmxPageEditor(
         {"activationKey": "ctr+\\", "editDreamweaverRegions": false, "editableRegionsList": "onlineedit", "securityMethod": "login", "actionUrl": "dmxPageEditor.php", "currentPage": "/Vicarageletter.html", "editorConfig": {"textColor": "#0000FF", "bgColor": "#FFFFCC", "uploadProcessor": "php", "iconSet": "modern", "skin": "blue", "locale": "en"}}
       );
     }
 );
  /* END dmxPageEditor name "dmxPageEditorGlobals" */</script>


Also make sure that the following lines of code are loaded
in the begining of your <head></head> tags.

<link rel="stylesheet" type="text/css" href="Styles/dmxPageEditor.css" />
<script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
<script type="text/javascript" src="ScriptLibrary/require.js"></script>
<script type="text/javascript" src="ScriptLibrary/dmxPageEditor.js"></script>



Regards:Vulcho.
Replied 13 May 2013 08:12:13
13 May 2013 08:12:13 Charles Browne replied:
thanks Vulcho, I will try that change. BTW, I didn't 'apply' any custom coding so I can't explain its presence

Charles
Replied 13 May 2013 09:35:56
13 May 2013 09:35:56 Charles Browne replied:
Vulcho,I applied the alterations and it worked perfectly. It probably was not a very good page to try it out on as the coding was 'messy' and contained too much CSS in the header.
Mant thanks for your quick reply.
Charles
Replied 13 May 2013 09:39:55
13 May 2013 09:39:55 Vulcho Vulev replied:
You are welcome Charles.

Best Regards:Vulcho.

Reply to this topic