DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Adding Java Script to pages

 10 Replies
 2 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Page 1 of 212 > >>
Author
Messages
New Around Here
Posts: 18
New Around Here

I want to install Gist.com JS code for live chat & more.
They indicate:
'Copy and paste this tracking code just before the tag on every page you want the Messenger to appear for website visitors. '
Search for 'add Java Script before the   tag' 
Where do I insert this in DNN CE Ver v. 09.03.02 (24)??
Lee

Veteran Member
Posts: 838
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
Hi Lee,

You can paste the script in:
- Settings
- Site settings
- Site behaviour
- HTML Page Header Tags
New Around Here
Posts: 18
New Around Here

Thanks that worked

Lee

Veteran Member
Posts: 1182
Veteran Member
MVP
MVP
You're an MVP!

Lee,

have a look at Will Strohl's Content Injection Module for DNN. I think this is a much more elegant way to inject JavaScript, HTML, CSS and whatever else. Also duplicating the module on another page when needed is easy.

Happy DNNing!
Michael

 

Michael Tobisch
DNN★MVP

DNN Connect
Growing Member
Posts: 68
Growing Member
Hi, I am having problems adding the v 2.0.2 to my DNN 9.8.0 site. I see reference to a version 3 in the extensions list as a later version but do not see this in GitHub.

Should this work in this version on DNN?

I am getting no dialogue to position the module on the page and in the page settings, no pencil to change settings in the module.

Thanks

Simon Thompson / UK
Veteran Member
Posts: 1182
Veteran Member
MVP
MVP
You're an MVP!
Simon,

https://github.com/hismig...ases/tag/CI-03.00.00

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP

DNN Connect
Growing Member
Posts: 68
Growing Member

I located version 3, but not where I expected.

I am actually experiecing problems inserting any sort of coe snippets into my site.

I have just attempted to insert some PayPal button code. The editor just refuses to take any action until I remove it.

With the code injection module, I can add a stadnard HTML piece of code but not the