close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

inserting JavaScript into the POWERCMS editor

Thread began 8/12/2009 2:38 pm by admin140217 | Last modified 8/13/2009 12:29 pm by Jason Byrnes | 1444 views | 3 replies |

admin140217

inserting JavaScript into the POWERCMS editor

I recently enjoyed the ease of getting PowerCMS working locally and while adding content I had put a string of javascript into the editor thinking it would show up on the page. It didn't!

Does the editor allow inserted JavaScript, the sample I did just showed a blank space on the page where the script was inserted. I have since changed things but for future reference, can I code Javascript in the editors interface for my pages?

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, you can code javascript in the editor, just make sure you are in source view before you add the script code. As a test I added:

<script type="text/javascript">
alert("Test 1...2...3...");
</script>



and got the expected alert when the page opened.

Javascript will not display on the page. If you are adding a script tag that connects to a .js file, you should use an absolute URL to the file, not a relative path.

Sign in to reply to this post

admin140217

Thanks Jason, I'll try that when I need to put JavaScript into the code again.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...