Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Override a Function in ModuleControllerOverride a Function in ModuleController
Previous
 
Next
New Post
8/10/2007 6:53 PM
 

Hi All,

I couldn't find any info on this so, can you tell me how can I override a single function inside the ModuleController class? Specifically I want to implement a very simple workflow functionallity, overriding the AddModule and the EditModule functions to estalish the new or updated module's visibility permissions to admins only (or content editors) while they wait for approval.

Is there a way to do this creating a single class with only this two functions?  though that declaring the class as "Partial Public" it would let me override them but it doesn't.

Any help here would be very apreciated.

Thanks

 
New Post
8/10/2007 9:07 PM
 

Hello, I would like to speak with you about your experience with DotNetNuke.  We are looking for someone very skilled in DotNetNuke that will work very hard, be conscious of costs, and work along side our small team to deliver very nice end products to our clients.

Please contact me ASAP.

Colin Valencia
Managing Partner
Urbn Media Group
cvalencia@urbnmedia.com
609 N. 15th St.
McAllen, TX 78501
P:  (210) 391-7543
F:  (210) 579-6503
www.urbnmedia.com

 
New Post
8/11/2007 12:39 PM
 

Unless the function is declared overridable you cannot override it so declaring the class as partial won't help, even more since the original class doesn't have the partial modifier either.


Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Override a Function in ModuleControllerOverride a Function in ModuleController


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out