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...Building ExtensionsBuilding ExtensionsModulesModulesHiding the Update, Delete, Cancel buttons for certain pagesHiding the Update, Delete, Cancel buttons for certain pages
Previous
 
Next
New Post
7/3/2017 8:22 PM
 

I'm using a Chris Hammond DAL2 MVC template.

In the Settings tab, there is a tab created with the module name for more specific settings for the module.  I have my own coded in, using buttons to update them.

How does one hide the 'stock' buttons?  It's a simple jQuery command but the buttons are not in the HTML context of the .cshtml file and thus finding them by ID, Class and Tag, etc. won't affect HTML in the overall DOM.  Here is a screen shot.  The yellow border items come 'stock', the others I've added.  The container for the buttons appears on all pages.

I can remove the settings objects at the top, how would one hide, for this tab only, the container for the Update, Delete, Cancel buttons?

 
New Post
7/19/2017 4:53 AM
 
You should be able to simply remove them. You may find that you also need to update the view model and other supporting backend code too though.

Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
7/19/2017 12:49 PM
 

Missing something obvious, Will.

This is a skin object that's on the other 3 tabs.  Removing it totally takes the 3 buttons off the tabs where they're needed.

I've set these up with .ascx before.  How are these removed from only 1 tab in the MVC template?

Thanks,

Mike

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesHiding the Update, Delete, Cancel buttons for certain pagesHiding the Update, Delete, Cancel buttons for certain pages


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