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.0hiding Add link in module container skinhiding Add link in module container skin
Previous
 
Next
New Post
12/11/2007 5:40 PM
 

I am working thru my first module using DNN 4.7 and the DotNetNuke Dynamic Module templace in VS2005.

For users with IsEditable permission, the EditUrl link shows up. This is fine

Say the module is called "Beta"

However in the Module's Container skin, there is also an "Add Beta" link, to add a new record

I only want a user to be able to create one record of this type. So once they have created a record, I want to turn off the "Add Beta" link in its container skin. I will leave the EditUrl in the main module, so the users can edit their Beta record.

I can handle determining whether a user has a record, but I dont know how to access that item to turn the  "Add Beta" link off.

Can someone point me where I need to go to hide that link in the module's skin container?

Thanks.

 
New Post
12/12/2007 2:56 AM
 

The answer is, the IActionable implementation adds the link, so it can be changed there to not display depending on your business rules.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0hiding Add link in module container skinhiding Add link in module container skin


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