Online Page Editor Add-on Support Product Page

Solved

login box doesn't appear with keys ctrl/shift/@

Reported 15 Nov 2012 19:51:16
3
have this problem
15 Nov 2012 19:51:16 Anne-Catherine Wambersie posted:
while it is working on my other sites with no problems, same browser, same keyboards,....
All the script files are loaded on the server.

Page:www.copsamare.ro/prices.html
In case you manage to make it appear: test test

Thank you for your support
Anne-Catherine

Replies

Replied 19 Nov 2012 07:24:36
19 Nov 2012 07:24:36 Vulcho Vulev replied:
Hello Anne.

Please edit your code the following way:
<![endif]-->
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-16529144-11']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
  /* dmxPageEditor name "dmxPageEditorGlobals" */
  jQuery(document).ready(
   function()
     {
       jQuery("body").dmxPageEditor(
         {"editDreamweaverRegions": false, "editableRegionsList": "editcontent", "securityMethod": "login", "actionUrl": "dmxPageEditor.aspx", "currentPage": "/prices.html", "editorConfig": {"uploadProcessor": "aspx"}}
       );
     }
 );
  /* END dmxPageEditor name "dmxPageEditorGlobals" */
</script>
<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>
</head>


Should become:
<![endif]-->
<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>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-16529144-11']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
  /* dmxPageEditor name "dmxPageEditorGlobals" */
  jQuery(document).ready(
   function()
     {
       jQuery("body").dmxPageEditor(
         {"editDreamweaverRegions": false, "editableRegionsList": "editcontent", "securityMethod": "login", "actionUrl": "dmxPageEditor.aspx", "currentPage": "/prices.html", "editorConfig": {"uploadProcessor": "aspx"}}
       );
     }
 );
  /* END dmxPageEditor name "dmxPageEditorGlobals" */
</script>
</head>
Replied 19 Nov 2012 10:05:30
19 Nov 2012 10:05:30 Anne-Catherine Wambersie replied:
Hi,

I have changed the order of the scripts as recommended above but still not working.

Other idea?

Thank you.
Replied 21 Nov 2012 10:36:35
21 Nov 2012 10:36:35 Anne-Catherine Wambersie replied:
Hi, ]

This topic is not solved!
The above solution doesn´t work.

Thank you for your input
Replied 21 Nov 2012 12:09:27
21 Nov 2012 12:09:27 Vulcho Vulev replied:
Hello Anne.

Did you applied any custom javascript code to the script of the extension?
<script type="text/javascript">  
  
  var _gaq_gaq = _gaq || [];  
  _gaq.push(['_setAccount', 'UA-16529144-11']);  
  _gaq.push(['_trackPageview']);  
  
  (function() {  
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;  
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';  
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);  
  })();  
  /* dmxPageEditor name "dmxPageEditorGlobals" */  
  jQuery(document).ready(  
   function()  
     {  
       jQuery("body").dmxPageEditor(  
         {"editDreamweaverRegions": false, "editableRegionsList": "editcontent", "securityMethod": "login", "actionUrl": "dmxPageEditor.aspx", "currentPage": "/prices.html", "editorConfig": {"uploadProcessor": "aspx"}}  
       );  
     }  
 );  
  /* END dmxPageEditor name "dmxPageEditorGlobals" */  
</script>  


Should be:
<script type="text/javascript">  
  
  var _gaq_gaq = _gaq || [];  
  _gaq.push(['_setAccount', 'UA-16529144-11']);  
  _gaq.push(['_trackPageview']);  
  
  (function() {  
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;  
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';  
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);  
  })();  
  /* dmxPageEditor name "dmxPageEditorGlobals" */  
  jQuery(document).ready(  
   function()  
     {  
       jQuery("body").dmxPageEditor(  
         {"editDreamweaverRegions": false, "editableRegionsList": "editcontent", "securityMethod": "login", "actionUrl": "dmxPageEditor.aspx", "currentPage": "/prices.html"}  
       );  
     }  
 );  
  /* END dmxPageEditor name "dmxPageEditorGlobals" */  
</script>  
Replied 26 Mar 2013 06:58:48
26 Mar 2013 06:58:48 Jonathan Frey replied:
I have this same problem here on this page:

testfrey.com/ecommerce3.php

... Although my keys are ctrl+F2. I haven't added any custom javascript to the extension script.

Thanks for your help.
Replied 26 Mar 2013 07:27:40
26 Mar 2013 07:27:40 Vulcho Vulev replied:
Hello Jonathan.

Can you make sure you click somewhere in the page before pressing CTRL+F2 ? The login box appear in my browser.

Also please make sure that the following files are present on the server:

http://testfrey.com/css/reset.css
http://testfrey.com/dmx/widgets/Lightbox/styles/default/style.css
http://testfrey.com/styles/dmxEditor/mint/mint.css
http://testfrey.com/dmx/dmx.core.js
http://testfrey.com/dmx/widgets/Lightbox/dmx.lightbox.js
Replied 26 Mar 2013 10:41:12
26 Mar 2013 10:41:12 Jonathan Frey replied:
Hi Vulcho,

You're right, I was missing an entire folder from my server. Unfortunately that didn't do the trick as far as the login box though. I also tried making sure I clicked within the page beforehand.

I scratched everything from the server and did a fresh upload of everything, but still no login box. Could you check and see if it still appears for you now? The keys are now CTL+SHIFT+@.

The strange thing is the login box appears for me on all the Showcase pages as well as Anne-Catherine's page above. Any more ideas on why this one is appearing in your browser but not mine? (I tried in several different browsers but none worked).

Thanks again.
Replied 26 Mar 2013 11:07:55
26 Mar 2013 11:07:55 Vulcho Vulev replied:
Hello Jonathan.

Currently in your page i don't see any code placed by the editor. Can you please take a look at the following video tutorial which will guide you detailed how to implement the editor on your page :

Using Online Page Editor Add-on Without FTP on PHP/Linux Server

Regards:Vulcho.
Replied 26 Mar 2013 20:26:26
26 Mar 2013 20:26:26 Jonathan Frey replied:
Hi Vulcho. It's working now! Thanks.

After inserting new code and uploading a fresh set of files, I made the silly mistake of not actually SAVING my updated page. (Which is why there wasn't any page editor code at all in there this last time around). Guess I was a little tired at the time

I think the original problem might have had to do with a certain .js file not being properly updated at some point during synchronization. It was difficult to tell if the appropriate version was the one on the server or in my local site, so I just scratched all relevant code and files from both server and local and re-started the insert content editor process from the beginning.

Anyway, thank you very much for your help.

Reply to this topic