Last post Feb 03, 2006 10:38 AM by johnymac
Feb 02, 2006 08:25 PM|johnymac|LINK
Hi all. I was looking at Active Forums and was wondering how they showed the forum groups, topics list and topics details in one module.
First I was thinking one option would be to have everything on the one page in separate panels and make the panels visable depending on querystring values.
Another is to have a base module that would parse the querystring and inject other modules based on the querystring values.
The blog module is a great example of this but may be a little too over complex for a beginner. Does anyone know of any less complex examples.
Feb 02, 2006 11:01 PM|thecrispy1|LINK
I don't think qs values should be necessary to do this. I actually think it would be of less value this way because on the initial view you have nothing to handle that. The trick to doing this is getting the same moduleId one way or another. Doing this
like the blog does, you will find your answer in the dnn file. This places the 4 view controls on the page on placement of the module.
If you wanted to do it with completely seperate modules where they each need to be added to a page seperately, you would need to have the moduleId of what is the 'main' module. This could be a module setting collected when the admin sets up the module.
(Module Settings Page). This requires more work for the end admin in most cases. I personally prefer placing each module seperately, but this just may be my preference.
Feb 02, 2006 11:26 PM|jharri|LINK
I have a related problem and thought perhaps I could take advantage of this thread to get some clarification. I am building a multi-view module. My main view control is a datagrid displaying 10 columns of data. Three of the columns should be like hyperlinks
where the user would click and that would take them to the relevant view module for that particular column. I would like that the piece of data in that column get passed to the view module, but in a POST (I don't want it in the URL)...I have not been able
to figure out how to set up the link. I have created the view modules, but I can't get the link to work. I have been trying to figure out how to use NavigateURL with the custom key with which I registered each control in the module. However, I haven't gotten
it to work. Would appreciate any light you could shed on this topic.
Feb 03, 2006 10:12 AM|IndianGuru|LINK
I think the answer is to load the controls dynamically [:)]
Feb 03, 2006 10:38 AM|johnymac|LINK
Please forgive me if I am totally wrong with this as I am new to DotNetNuke.
Lets try to simplify this and I think this is something what jharri
Multiple Views in one module
Lets say you have a product list that has a link to the product details. You do not want this link to be on a separate or module but the same module. Your options would be :
I am thinking of creating a simple paypal buy now product list with a product details section. I will try to do it with each of the above and publish source on completion.
I think the blog module has done the dnn file like this is so that you only have one module in your control panel but it creates 5 modules on the page because each module is related to each other.