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.
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.
Hi
I've just added a custom form for users to submit articles, and images for the article. I want all the images to go into one folder for every user.
The way it works is when a user first submits and article, there's no fileupload control on the form so he just submits the article text , once the form is submitted the article data is stored in the database, the user can now edit his submission which now does show a fileupdate control and as he uploads images the images are prefixed with "articleId_" so something like "1232_myImage.gif" , "1232_my2ndImage.jpeg" and "1232_my3rdImage.gif"
So what I want to do is store all the images under one Folder
Where the best place to put this folder, is it under ~/Data/Sites/1/MyFolder or directly under the root folder - cause I'm not sure, where's the best place to make it simple to access when you need to display the images.
I'd put it under /Data/Sites/[SiteID]/media/myfolder
Less priveledged users can browse starting at the media folder so if you put it higher probably only admins can access it in the image browser.
Hope that helps,
Joe