How to Integrate Aspx pages to mojoportal?

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.
10/13/2010 8:22:49 AM
Gravatar
Total Posts 3

How to Integrate Aspx pages to mojoportal?

How to Integrate Aspx pages to MOJOPORTAL?

We have a requirement for designing the 55 pages. In this case nearly 30 pages are content management system so that we would like to go with MOJOPORTAL, remaining 25 pages are search, registration etc.  These remaining 25 pages we will desire to design in asp.net using visual studio 2008 and sql server, how do I integrate with 55 pages under one project in MOJOPORTAL. When I click the MOJOPORTAL menu then my aspx page should be open under the MOJOPORTAL environment.

Thanks in advance.

10/19/2010 6:26:33 AM
Gravatar
Total Posts 550

Re: How to Integrate Aspx pages to mojoportal?

Hi,

you can create a separate web projects that contains all the custom pages. In that create a folder and create your .aspx files to that. In the build events of your project add commands to copy required dll(s) and .aspx files to the mojoPortal.Web(mojoPortal.Web.net35 if you use .NET 3.5) projects.This is a sample of build events that you can see on propery page of the mojoPortal.Features.UI project.

xcopy /s /y "$(ProjectDir)bin\mojoPortal.Features.UI.dll" "$(SolutionDir)Web\bin\"
xcopy /s /y "$(ProjectDir)bin\mojoPortal.Features.Business.dll" "$(SolutionDir)Web\bin\"
xcopy /s /y "$(ProjectDir)bin\mojoPortal.Features.Data.dll" "$(SolutionDir)Web\bin\"

xcopy /s /y "$(ProjectDir)Blog\*.aspx" "$(SolutionDir)Web\Blog\"

At this poin you have your pages is your web site, so the same as other cms pages  add a page for any of added .aspx files and set it's url as [yoursite]/[the forlder that copy from your project]/[somepage.aspx]

hope Helps

Asad

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