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...Getting StartedGetting StartedMaking changes to DNN site from custom ModuleMaking changes to DNN site from custom Module
Previous
 
Next
New Post
2/27/2019 2:36 AM
 

Hi everyone,

I'm making a web site and I want to know if I can (and if I can, how) make changes to the site and (or) another (custom) module from my custom module. Is there a class that can make life easier? :) 

For example, can my module create a button on another page that will lead the user to the page on which the module is located. Or something similar.

This is just an example, because at the moment I do not know how the site should look. Right now, I have a task to research how this works.

Thank you

 
New Post
3/5/2019 8:04 PM
 
There's at least two ways to do this. One would be to create a module that only has a button on it in view mode. Then create an edit property that asks for a module id/page id to go to if pressed. You probably want to do tabmoduleid, since you can inspect that object to retrieve the page a specific module is on. Make the edit mode only available to editors/or admins. That way you can use that button to put on any page, and specify the page of a specific module id to go to when clicked at design time, instead of hard-coding it in to the module.

Another way to do it is to have two different view modes of a module. One displays that module and any info/interaction you wanted, and another would only display a button. Then in edit mode also have a property that specifies if the 'display only button' mode is on or off.

As far as specifics on doing this, if you don't understand the above, it's fairly basic DNN stuff. I would go check out some videos on youtube on introduction to module development. Hope this helps!
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedMaking changes to DNN site from custom ModuleMaking changes to DNN site from custom Module


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