Multisite file uploads

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.
1/16/2015 5:50:41 AM
Gravatar
Total Posts 118

Multisite file uploads

Hi, I'm running 2.4.0.4 MSSQL .net v4.0 I have a multisite installaiton. 


When I 'add new' to a 'list/links' module the URL is incorrectly formulated, it adds the site folder name as well as Data/Sites/sitenumber/

So instead of..

websitehostname/Data/Sites/7/media/filename.pdf

I get..

websitehostname/websitefoldername/Data/Sites/7/media/filename.pdf

which doesn't work. The URL is built correctly if I create is using the regular 'html content' module. 

1/16/2015 7:55:45 AM
Gravatar
Total Posts 18439

Re: Multisite file uploads

I don't know what your question has to do with file uploads.

I think for the list/link feature, the url you enter needs to either be a fully qualified url starting with http:// or https:// or for a relative url it might need to start with ~/ rather than just /

Hope that helps,

Joe

1/16/2015 8:02:48 AM
Gravatar
Total Posts 118

Re: Multisite file uploads

Hi Joe, 

Sorry for not being clear, the problem is, if I click on 'browse' and either upload or select a previously uploaded file, it then populates the URL textbox, however this is generating an incorrect URL in this box. 

1/19/2015 2:40:06 AM
Gravatar
Total Posts 118

Re: Multisite file uploads

The website foldername is being added to the automatically generated URL. 

1/19/2015 12:44:48 PM
Gravatar
Total Posts 18439

Re: Multisite file uploads

Thanks for the clarification. I was able to reproduce the problem on my local machine and fix it.

It is now fixed in our source code repository so it will be fixed in the next release of mojoPortal.

The only workaround I can suggest until then is manually change the relative url to a fully qualified url after browsing and save it.

Thanks,

Joe

4/21/2015 6:47:30 AM
Gravatar
Total Posts 118

Re: Multisite file uploads

Hi Joe,

Did this get implemented? I'm on 2.4.0.8 MSSQL now and still have the problem. 

4/21/2015 10:27:36 AM
Gravatar
Total Posts 18439

Re: Multisite file uploads

This has been fixed in the source code repository for a while but we have not made a release with it yet. I will try to do that very soon.

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