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

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...RE: Extension Packaging that installs module to admin/host menu ?RE: Extension Packaging that installs module to admin/host menu ?
Previous
 
Next
New Post
11/20/2009 7:16 AM
 

 Hi,

I'm writing a couple of modules that are for Admin/Host use only.

Does the existing Extension packing (5..x) allow you to declare a module component to be installed as a Admin/Host module which is then added to the Admin/Host menu during installation along with not showing the module as a general module?

Do I need to include an sql script to do this in the package? If so are there any scripts out there that someone would care to share?

Ideally this would be great if this feature was already in the core installer.

Cheers,

Colin

 

 


Colin Mulcahy
E: colin_mulcahy@hotmail.com
 
New Post
11/30/2009 12:50 AM
 

Hi Oyster,

In dnn 5.x, admin can no longer install/uninstall any extensions. You have to use host account to install it.

If you are looking to develop a module that is accessible by host/admin only, you can just set the permission in the module settings. The best way  to package the moduel in this way is, just configure your module in local environment, test it locally, and then login to host  and go to Host > Extensions > edit extension > Create package wizard to generate the module package. it will automatically copy the rights you have given to the local module when you install it in live environment.

I hope I understand your problem correclty

Hope this Helps

 


Find out code snippets, tutorials and How Tos' about dotnetnuke at lakhlaniprashant.blogspot.com Umlimited wedding planning tips, free wedding websites and more at http://www.FirstPhera.com an indian dotnetnuke portal dedicated to wedding planning!
 
New Post
12/4/2009 7:28 AM
 

 Hi Prashant,

Thanks for the reply. :-)

Thanks for the tip, I can use that elsewhere. In this case it's not permissions that I want to set for the module.

I want to add the module to the Admin or Host menu during installation.

What I'm trying to find out is:  

1). Is there a property in the manifest that I could set that informs the package installer that this is a Admin or Host module as opposed to a standard module and once it determines it is a Admin/Host module that it it adds a tab and injects the module on the required Admin or Host menu.

2). At the moment the only way I can see how this is done is to add a SQL script to the package that will work all this out and inject it for me. The problem with this approach is that the core can change.

Ideally it would be great if it was built into the Package Installer.

There are numerous modules out there that do this through SQL, for example iFinity UrlMaster.

Cheers,

Colin

  


Colin Mulcahy
E: colin_mulcahy@hotmail.com
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...RE: Extension Packaging that installs module to admin/host menu ?RE: Extension Packaging that installs module to admin/host menu ?


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