You need to Register for free and Login to post a message in the forum.

Forum

Subject: Development:: Multiple pages in the module menu
Prev Next
You are not authorized to post a reply.

Author Messages
CTOSian
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:1

15 Aug 2007 4:23 AM  

Hi,
I have a non-key entry for the main page in the module, a 'settings' key for that 'page within a page' functionality and a third key [edit] for my "Stage #1" Page.

All this works.

The particular problem I have [and hence the need for a fourth page [Stage #2] is that on my 'stage#1' page I am using partial rendering [ajax update panel] in which I use the Ajax Popup control extender.  Works very well.

"Stage #2" needs to use the file uploader and Microsoft haven't yet fixed the bug that prevents use of this control under an update panel. I therefore need to produce a separate page without partial rendering in order to use it!

So, I still need to have two pages [plus my settings] in my menu drop-down in the the user module that hosts all this.

 

1. Added the following code to the 'View' ascx.vb

Actions.Add(GetNextActionID,"Stage #1", Entities.Modules.Actions.ModuleActionType.EditContent,
 "","", EditUrl(), False, DotNetNuke.Security.SecurityAccessLevel.Edit, True, False)
Actions.Add(GetNextActionID,"Stage #2", Entities.Modules.Actions.ModuleActionType.EditContent,
 "","", EditUrl(), False, DotNetNuke.Security.SecurityAccessLevel.Edit, True, False)

2. added two .ascx files to the project and put the relevant html and code-behind in each. Indvidually, these pages work.

3. added the controls to the module in the Host>Module Definitions for the module.

My entries were Key: Edit
                       Type: Edit
                        Title: Stage #1
and

                        Key: View/edit/anything!!
                       Type: View/edit/Anonymous etc..
                        Title: Stage #2
....selecting the appropriate .ascx file for each control.

I can only see the page that has 'Edit' for the key type,[I've switched them over].
Using 'Edit' for both results in an error.[I'm sure this is by design....]
I've tried several other 'keywords' [View, Anonymous etc..]

Nothing seems to work. Problem is - I can never see both!
What am I doing wrong??

 

D.

You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > Development:: Multiple pages in the module menu



ActiveForums 3.7

Latest Forum Posts

Web.config Error by derpir
HelloI got this error, does this seem familiar to you? Can anyone say how to fix this error?Error 98...
No Access for me too by ristori
I suscribe for the magazine novembre 2008 13. I receive this ticket from Paypal : Prix de l...
How can I list our offices by country by bluehoops
Hi everyone!Apologies if this is a simple question, but it is driving me nuts.I run a small ISV and ...
RE: DNN Creative vs FireFoX V3 by DavidWSnow
It now looks like the error'ing extension is StumbleUpon and it effects FireFox on some, but not all...
Issue 39 Authentication by DavidWSnow
I was glad to see you address this topic. When LiveId was first added to DNN, I tried to implement i...
RE: (catalook) Itempane changes on product pages ?? by Vilaplana
Hi, I think the problem is been caused by your skin and not by Catalook itself.  In the main page, C...
Yahoo Answers by cdtguru
Hey, i was wondering if anyone knew of a module that would create a similar system to Yahoo Answers...
(catalook) Itempane changes on product pages ?? by Gaz35
Hi , hi , I don’t know if you can help me , here is the site in question http...
RE: Virtual Pc 2007 help by jeff@zina.com
You need to get the Virtual PC's network set up.  Might check the Virtual PC news group: http://www...
DNNCreative Just Keeps Getting Better by jeff@zina.com
Kudos on issue 39, the article on importing large quantities of data was both timely for me and spot...
RE: Videos by clippy
Hello from France My question is about the videos for beginners, and specially n° 3; I'm working...
skinning trouble by derpir
HelloI have uploaded a skin to my DNN-website, but I want to make som changes. I have made some chan...
RE: Column width in UDT by VickySwift
In case anyone else is looking for the answer to this, I have been able to add the headers back in b...
RE: search not working by jncraig
Did you either reindex the site to turn on the scheduled task to do it?
RE: Template Issue by jncraig
No, you need to install your custom modules before you use the template.
RE: error message in registration page by jncraig
I'm not sure that you can avoid them, short of rewriting the module.You might want to investigate Dy...
Template Issue by Bobbyjosephg
Hi,   Today I have come up with a problem with templates.I was successful in exporting a template an...
RE: search not working by sanju_k1421
I checked     host==>admin search  page   that is set both limits min //max  page     still i m n...
RE: error message in registration page by coder247
but how do I avoid the error messages provided by default in dnn?
RE: Style sheet does nothing by andorz
Oh. I was told to do that in my thread at the dotnetnuke.com forum. http://www.dotnetnuke.com/Commun...
AppTheory
RSS Feeds