Navigation to "other page"

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.
9/7/2010 6:51:05 AM
Gravatar
Total Posts 8

Navigation to "other page"

Hi,

I have made my self a few controls where I can add and edit items stored in the DB. I also have a repeater showing a list of items in the DB and I want to add a link to navigate to a page where I have my control that will show all info about an item in the DB.

I have looked around and I don't really get how to do this the correct way. 

Should I just add the specific control to the current page with Page.Control.add and delete the old one(My list)? Or do I redirect to a supporting page?

Is there anywhere in the documentation I could get directed to for reading more how to "plan" the flow of your custom solutions?

 

Thanks,

Stefan

9/7/2010 6:55:07 AM
Gravatar
Total Posts 18439

Re: Navigation to "other page"

So your module control will be hosted in a CMS page and you just need to build links to your supporting page and pass all the needed params by query string including the pageid and moduleid (mid) along with your own id(s)

then the user clicks the link and goes to your supporting page where details are shown.

This is covered in the training videos

http://www.mojoportal.com/developertrainingvideos.aspx

9/7/2010 6:57:53 AM
Gravatar
Total Posts 8

Re: Navigation to "other page"

Hi and thanks for your reply. So it's supporting pages that will be used in those situations?

I have looked through all the videos and they are great work, problem is that my memory is not always the best!

 

Cheers,

Stefan

9/7/2010 7:25:07 AM
Gravatar
Total Posts 18439

Re: Navigation to "other page"

Yes, a complex feature cannot all fit inside a site module control. Consider the forums feature for example, the site module control is the only part that plugs into a CMS page, ie http://www.mojoportal.com/forums.aspx  is a CMS page. The forums site module control provides only the list of forums and the links all go to supporting pages as you can see in the urls.

Studying how existing mojoPortal features work is the best way to understand how to organize your custom features.

Hope it helps,

Joe

9/7/2010 7:48:09 AM
Gravatar
Total Posts 8

Re: Navigation to "other page"

Thanks for the help! Got you a beer and if you ever come over to Dublin, Ireland I will get you a few real pints to enjoy!

9/7/2010 10:45:49 AM
Gravatar
Total Posts 18439

Re: Navigation to "other page"

Hi Stefan,

Thanks for the beer! I'd love to visit Dublin some day, I'm a fan of Guiness but I'm sure what we get here in the US is not the same as real Guiness served in pubs over there.

Cheers,

Joe

9/8/2010 3:54:25 AM
Gravatar
Total Posts 8

Re: Navigation to "other page"

I were over in LA before last Christmas for the Star West testing conference and we tried the Guiness in a few spots, some were ok but I liked the all the smaller brands of beer from micro breweries.. Anyway I’m not a big guiness fan and my friends here in Dublin who are they know exactly where to go and not for your perfect Guiness :)

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