Image Galeery feature: Is there a way to change the path of the child sites so that when images are uploaded from child sites it points to root folder path?

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/6/2014 12:56:46 AM
Gravatar
Total Posts 36

Image Galeery feature: Is there a way to change the path of the child sites so that when images are uploaded from child sites it points to root folder path?

We have created couple of child sites using single installation multi site feature. We are facing issue with image gallery feature. I want when image is uploaded from parent site it should be visible in all the child sites since content and menu is same in all the sites except skins. But this is not happening as of now, we need to upload image from each and every site. Is there a way to change the path of the child sites so that when images are uploaded from child sites it points to root folder path?

5/6/2014 11:20:06 AM
Gravatar
Total Posts 18439

Re: Image Galeery feature: Is there a way to change the path of the child sites so that when images are uploaded from child sites it points to root folder path?

mojoPortal is designed to keep site content separated, but you can use IIS virtual directories to make the different site folders point to a single location.

ie you could copy and remove the existing media folder from under /Data/Sites/[SiteID]/media then for each site make a virtual directory in IIS at the same location but pointing to a different physical folder. in other words replace the physical media folder for each site with a virtual folder named media that points to a central location.

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