Quick Nav:  Online Store   |   Login | Register

child portal problems - images and errors

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Maseeh Ahmed
<20 Posts
Posts:3


02/06/2004 8:39 AM  
Hi

When creating a child portal eg. localhost/parentportal/childportal and adding modules to the Home tab that contain images, when browsing to the child portal a javascript error is thrown, and the images do not show.

Clicking on home will rectify the problem, so it seems like the initial page for the child portal is not referenced correctly?

I'm not sure if this has to do with the portal alias which is correctly set to localhost/parentportal/childportal/

thanks
Host Account
Posts:0


02/06/2004 10:28 PM  
I have seen the javascript error if you are logged in as Host or Admin and navigate to the child portal using the sub-directory like you described. It is due to the admin menu looking for the javascript popup function in the SnapsisDNN.js file, which is referenced relative to the main root of the website. It can be fixed by making the reference physical from the root of the website by placing a slash at the start of the reference.

On line 34 of DesktopDefault.aspx change:
src="DesktopModules/SnapsisDNN/SnapsisDNN.js">

to
src="/DesktopModules/SnapsisDNN/SnapsisDNN.js">
Host Account
Posts:0


02/06/2004 10:33 PM  
By the way. This only happens when you are logged in as admin and are navigating to the portal using a sub-directory and can be corrected by clicking on the home link as you mentioned.
Maseeh Ahmed
<20 Posts
Posts:3


02/09/2004 10:08 AM  
Thanks

This prevents the error on child portals, but now a javascript error is thrown on the parent portal when logging in as host/admin.

Does it look for different script files for the two?
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >Bugs and other Issues > child portal problems - images and errors



ActiveForums 3.7
Powered by: Snapsis Software