Forum


HomeHomePublicPublicDevelopmentDevelopmentJavascript only executing when logged inJavascript only executing when logged in
Previous
 
Next
New Post
7/19/2017 4:16 AM
 

Hello

Its been a while since I did any DNN development.

I have added some Javascript to a page Head section (advanced page settings) using script tags.

Thing is the code only runs when I am logged in.

Any clues?

 
New Post
7/19/2017 6:35 AM
 

Hi Riachrd,

So what you are saying it that he scripts placed on the header of the page are ONLY placed when in admin mode? Not as a regular, not logged in user?

Can you share a link?

Cheers,

Aderson

 
New Post
7/19/2017 7:04 AM
 

 

Hi Aderson

 

ok here is a page that should fire some javvascript to open some popups.

 

http://leansoftware.net/dragto.aspx

 

I want to strip the page down - remove the menu and other theme stuff - I guess I need to create a new theme and allocate that to the page.

 

 

 

 
New Post
7/19/2017 7:06 AM
 

 

here is the code in the Header

 

<script>
  window.open("http:\\Google.com");
</script>

 
New Post
7/19/2017 12:22 PM
 

Hi Richard,

The problem is NOT that the code only runs when logged in. The issue is WHY the code is not there at all in the page header when you are not logged in?? Very interesting...

If you want, send me a private message with the host level access so I can check it. aderson at dnnhero dot com

Cheers,

Aderson

 
Previous
 
Next
HomeHomePublicPublicDevelopmentDevelopmentJavascript only executing when logged inJavascript only executing when logged in



Try FREE
30 days money back guaranteed