Dynamic pages from external database

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/7/2010 6:46:02 AM
Gravatar
Total Posts 2

Dynamic pages from external database

Hi,

I couldn't find anything similar, so I am asking here. I would like to show records from external database through some ascx control or some kind of template. I do not know how to include those dynamic "pages" into portal and how to implement indexing if the content is changed.

For example:

Table Liquor

ID     Name UniqueName Description

1       Beer   beer            Excellent in summer

2       Rum   rum1             Spirit of pirates

,

The wanted result are three pages.

First, where all content could be listed like \baverages.aspx

Second and third of would be as each row separately like \beverages\beer.aspx and \beverages\rum1.aspx

When new row will be inserted, new page should be available.

,

Thank you

Rok

4/7/2010 10:30:48 AM
Gravatar
Total Posts 18439

Re: Dynamic pages from external database

Hi Rok,

I recommend watch this series of tutorial videos. It covers some of your questions and I will be adding more videos in the near future covering topics such as how to make custom features searchable and how to use friendly urls.

Best,

Joe

4/7/2010 11:36:30 AM
Gravatar
Total Posts 2

Re: Dynamic pages from external database

Hi Joe,

I went through all of them, but I don't remember to see anything in context of this topic. Or did I miss something? Because everything I remember are talking about custom controls for one single page.

I would like something like traditional web application context where you to details.aspx?ID= some parameter and the content is rendered base on that ID and content in database.

It is simple problem, bit quite complex in a portal context...

Or it is also simple problem in mojoPortal? :)

Thank you

Rok

4/8/2010 9:50:18 AM
Gravatar
Total Posts 18439

Re: Dynamic pages from external database

Hi Rok,

Well, I have not yet produced the tutorial that will show how steps to make supporting pages in a custom feature, hopefully I will get to it soon.

But I do think I talked a bit about that in videos 7 and 8 when I talked about concepts, I'm pretty sure I explained it from a high level in context of how the forums supporting pages work.

Really, the source code for existing features is the best tutorials and should be illustrative of how to build custom features. There are examples of how to do most things you might want to do in the various existing features.

Hope it helps,

Joe

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