upload image default location

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.
8/14/2009 7:25:10 AM
Gravatar
Total Posts 16

upload image default location

hi,

is it possible to change the default file loaction on the upload image section of the editor?

I have looked but i just cant see it. I just dont want the mods on my site randomly uploading images all over the place!

thanks

Ian 

8/14/2009 8:13:20 AM
Gravatar
Total Posts 18439

Re: upload image default location

Hi,

No, currently it is designed to support multiple sites and therefore the root folder for each site starts at /Data/Sites/[SiteID]/ to keep things separated by site.

Other than that it lets you organise or not organise things into sub folders beneath there as you see fit. So best to convey to your users if you want to follow some conventions for where images should go.

Note that when usining the forums, if the user is not an admin but is in a role allowed to upload and browse as defined in Web.config then the images go in a user specific folder.

Best,

Joe

8/14/2009 8:24:55 AM
Gravatar
Total Posts 16

Re: upload image default location

ah right thanks Jo you are a legend :o)

one last thing, is it possible to set the default time zone for new users?

 

8/14/2009 8:27:01 AM
Gravatar
Total Posts 18439

Re: upload image default location

I'm pretty sure that unless the user specifies it it will use the setting from Web.config

<add key="PreferredGreenwichMeantimeOffset" value="-5.00" />

Hope it helps,

Joe 

8/16/2009 5:27:42 PM
Gravatar
Total Posts 18439

Re: upload image default location

you got me thinking about this issue.

It does seem better to me if the user is not an admin or high priveledge user it would be better to not let them wander the whole file system beneath /Data/Sites/[SiteID]/

but to constain them to a folder that is just for media, images, flash movies , downloads etc.

So I'm introducing a new folder at /Data/Sites/[SiteID]/media/ and users other than admin will be restricted to managing files (in the editor) beneath that folder. They can still create folders and organise as they need.

Admins and Content Admins will still be able to navigate from the root of the site folder, but other uswers with edit roles will be constrained to the media folder.

This may introduce a backaward compatibility issue where file sneed to be copied beneath the media folder so that they can be browsed by content editors as before. 

I will also make a web.config setting so its easy to force allowing the site folder as root for backwarcd compatibility.

I will make these changes for the next release.

Best,

Joe

 

8/17/2009 3:07:41 AM
Gravatar
Total Posts 16

Re: upload image default location

that would be awesome joe cheers :)

 

Ian

11/6/2009 11:45:18 PM
Gravatar
Total Posts 12

Re: upload image default location

Hi Joe

This is a great addition that I have just discovered. We're setting up a community web site and have assigned roles to content areas. Members can then modify only their areas. What would be REALLY cool would be to have "role-based" folders for media. I am reluctant to have individual users store content images and files in a location that other people in their team cannot see. I'm sure your list of enhancements is long, but if you ever get bored...

Cheers,

    David

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