Online Page Editor Add-on Support Product Page

This topic is locked

Can Login but can't edit

Reported 28 Apr 2011 03:15:17
1
has this problem
28 Apr 2011 03:15:17 Chris Sanlon posted:
I have been trying for the last week or so to get this working. With the latest update I have finally got the login working and can now log in to the pages (although everytime I used the extension in a Template page it inserts the following code:


<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>


below the


/* dmxPageEditor name "dmxPageEditorGlobals" */
  jQuery(document).ready(
   function()
     {
       jQuery("body").dmxPageEditor(
         {activationKey:"ctr+f2", securityMethod:"login", editorConfig:{width:400, skin:"blue", extensions:[]}}
       );
     }
 );
  /* END dmxPageEditor name "dmxPageEditorGlobals" */


resulting in jQuery undefined errors. This seems like a simple but annoying bug?

After fixing that the Ajax login appears and works fine but after logging in there is nothing different on the page - ie no Edit icons for any of the template regions. I have checked that all the necessary files are synched to the server correctly.

I would appreciate it if anyone could shed any light on this problem. The website I am testing it on is...
Using Firebug I get 2 errors after logging in:

H is undefined (css.js)

and

Node cannot be inserted at the specified point in the hierarchy" code: "3 (j-querylatest.pack.js).


Thanks,

Chris
Edited by - Chris Sanlon on 18 May 2011  14:09:36

Edited by - Chris Sanlon on 18 May 2011  14:11:43

Replies

Replied 28 Apr 2011 10:23:22
28 Apr 2011 10:23:22 Teodor Kuduschiev replied:
Hello Chris,

For some reason, maybe you are using an old version of jquery on your page.
I see you are using * jQuery JavaScript Library v1.3.2 and the version our extension uses is 1.4.4
Please delete the ScriptLibrary folder, reapply the extension on your page and make sure to upload ALL the files to your server.
Replied 18 May 2011 14:11:09
18 May 2011 14:11:09 Chris Sanlon replied:
thats great thanks. Had tried reapplying it but hadnt deleted the scriptlibrary file first.

Thanks,

chris

Reply to this topic