How to create a new page and adding upload feature ?

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.
4/28/2011 11:05:13 AM
Gravatar
Total Posts 21

How to create a new page and adding upload feature ?

I am just starting to understand mojoPortal. I want to create a page in which I want to add 3 or 4 file upload options so that members of my website will be able to upload their files and send it to me.

I will deeply appreciate if anyone can help me with the required steps , how to start and how to make this possible ?

4/28/2011 11:28:05 AM
Gravatar
Total Posts 18439

Re: How to create a new page and adding upload feature ?

mojoPortal has several features that support file uploads. I recommend get the source code and study the code for existing features to learn how to implement custom features. ie you could study the File Manager or Shared Files feature or Image Gallery for example code on file uploading. The source code is the best documentation of all and has examples for almost any common development tasks.

See also Developer Documentation

Hope it helps,

Joe

4/28/2011 11:44:32 AM
Gravatar
Total Posts 21

Re: How to create a new page and adding upload feature ?

thanks

4/28/2011 11:47:10 AM
Gravatar
Total Posts 21

Re: How to create a new page and adding upload feature ?

one more question Joe - it means the project that I download is the web project only and doesn't include source code ?

Can I still make modification in the pages / code in web version or I need full source code to make any changes ?

4/28/2011 11:54:21 AM
Gravatar
Total Posts 18439

Re: How to create a new page and adding upload feature ?

You should not modify any mojoPortal code, you should only use it for learning, if you fork the code you will never be able to upgrade without losing your changes.

See Also

Understanding the Difference Between Deployment Files and Source Code

Avoid Forking the Code

and see the rest of the developer documentation and tutorials to learn how to keep your custom code separate from mojoPortal code.

Hope it helps,

Joe

4/28/2011 2:47:37 PM
Gravatar
Total Posts 21

Re: How to create a new page and adding upload feature ?

Joe, if I am planning to add customer code in the mojoPortal project in a recommended way then I just have to re-build the project and upload web folder on the server ? or is there anything that needs to be done ?

4/28/2011 2:57:41 PM
Gravatar
Total Posts 2239

Re: How to create a new page and adding upload feature ?

Hi,

You should read the developer documentation so you can fully understand how to create modules for mojoPortal.

In direct response to your question, your changes shouldn't require that you deploy the web folder from your development machine to the server. Your module should be compiled and then the DLLs and supporting pages should be deployed to a running instance of mojoPortal. The training video "Dev Series 32 Feature Packaging and Deployment" discusses the concept.

HTH,
Joe

4/29/2011 11:04:02 AM
Gravatar
Total Posts 21

Re: How to create a new page and adding upload feature ?

Hello Joe,

Like you mentioned above that it is not recommended to change the original code.

But if I have some requirement then I guess I have to make some changes. For upgrade, I can always undo the changes , then update, then apply back the changes, correct ?

Usually How changes works ?

I just have to recompile the full source code and update the required dll like moroPortal.web.dll on the web-server with the existing one, correct ?

4/29/2011 11:18:21 AM
Gravatar
Total Posts 2239

Re: How to create a new page and adding upload feature ?

Hi,

What kinds of changes are you wanting to make? Someone might be able to help you do what you want to do with out modifying the source code. You should be able to accomplish your goals by creating your own modules, without changing the source code.

HTH,
Joe D.

 

4/29/2011 11:32:26 AM
Gravatar
Total Posts 21

Re: How to create a new page and adding upload feature ?

Hello Joe,

I did watch the video in "Documentation" but still it didn't help me with my situation.

I don't have much requirements. I only want to create a page in which I will be asking for regulalar information like Name, Address, Phone number etc. Along with that I want to add 3 or 4 <asp:Fileupload> options where the members / visitors of my website will be able upload the documents/files that I will be asking in that page.

I don't want this information to be stored in database, when anyone fills out this form and attach/upload documents/files, on the click event of submit button, that information with attached documents/files should be e-mail to the administrator e-mail mentioned in the administration area e-mail (or that's also ok to mention email address in the code).

So this is pretty much I am looking for. Plz Help.

I will deeply appreciate if you can give me step by step guidance how to go about it ?

4/29/2011 11:45:21 AM
Gravatar
Total Posts 18439

Re: How to create a new page and adding upload feature ?

Hi,

None of what you describe requires forking the code, if you go down that path you are making a big mistake.

We provide a lot of documentation to help developers get up to speed but no-one here is going to step by step help you with your custom development project. That is expecting a lot, we all are very busy and have our own work to do. We may help with specific questions if we are able and have time. 

It is expected that people have a background in ASP.NET and already know how to do development enough that they can learn from the source code and documentation provided. 

Best,

Joe

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