Attach js into mojoPortal

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
5/19/2015 2:18:13 AM
Gravatar
Total Posts 2

Attach js into mojoPortal

Hello, I have wrote JS calculator and need include it into mojoPortal site hosted at hostforlife.eu. I have upload js files to directory /calculator/ and add script tags at page content. But when browser request http://example.com/calculator/calculator.js it get 500 error:

Runtime Error

Description: An exception occurred while processing your request. Additionally, another exception occurred while executing the custom error page for the first exception. The request has been terminated.

How I can disable execution of this folder or attach files in code? Please help. Thanks.

5/19/2015 3:26:41 PM
Gravatar
Total Posts 18439

Re: Attach js into mojoPortal

Hi,

For resolving errors see Basic Troubleshooting

We have a built in feature for Custom Javascript that you can add to a page, just like adding a content feature. Then in the settings you can set the url for the js file or embed raw script

Hope that helps,

Joe

5/19/2015 9:19:19 PM
Gravatar
Total Posts 2

Re: Attach js into mojoPortal

Okay, Thanks for the reply. I will try it.

You must sign in to post in the forums. This thread is closed to new posts.