Hide “Server information” in cPanel


Quote Originally Posted by serverman12
View Post
Hi,

I want to hide the “Server information” link in client’s cPanel: https://ibb.co/J5NcG0H

How can i do this?, for the users cannot see technical information.

Thank you very much.

Why do you want to hide that information?

Feature Manager -> Packages -> Edit Feature List -> Uncheck Server Status Viewer -> Save.

sharepoint online – Application Customizer to hide Save button

I am trying to create application customizer to hide save and cancel button from Newform.aspx in Modern UI , i tried writing below code but everything getting hide instead of Save button noticed html is getting display:none

    enter code here  

@override
      public onInit(): Promise<void> {
        var Libraryurl = this.context.pageContext.list.title;  

        Log.info(LOG_SOURCE, `Initialized ${strings.Title}`);
       // this.context.placeholderProvider.changedEvent.add(this, this._renderPlaceHolders);  

        let message: string = this.properties.testMessage;
        if (!message) {
          message = '(No properties were provided.)';
        }

        if(Libraryurl=="Announcements")
    {
        //Dialog.alert(`Hello from ${strings.Title}:nn${message}`);  
        // code to hide button
            let newbutton: any = document.getElementsByName("Save")(0) || document.documentElement;  
           // let newbutton2: any = document.getElementsByName("Cancel")(1) || document.documentElement; 
            //let newbutton3: any = document.getElementsByName("Edit columns")(2) || document.documentElement;  



            Dialog.alert(newbutton.name);  
            newbutton.style.display = "none"; 
            //newbutton2.style.display = "none"; 
            return Promise.resolve();

            //newbutton3.style.display = "none"; 
    }


       // this._renderPlaceHolders();

        //return Promise.resolve();
      }

enter image description here

sharepoint online – How to hide “Share”, “Copy Link”, “Copy to” buttons in my site?

I’m using SharePoint Online modern UI.

And, I want to hide Quick edit, Sync, Export to Excel, PowerApps, Automate, Share, Copy Link, Copy to from my site.

Please check below picture.
this is my question

I found the easy solution about PowerApps, Automate, Sync buttons in below URLs.
https://mbangert.de/hide-power-apps-and-power-automate-flow-in-sharepoint-online
https://www.sharepointdiary.com/2017/08/disable-sync-button-in-sharepoint-online.html

But I can’t find solution other buttons.
I don’t want to use SPFX if possible, but is there no choice to use SPFX?

8 – How can I hide field labels on a custom content type’s form display?

In Drupal 7, it was possible to set a field’s label to “Hidden” on the “Manage Display” tab. Since the settings on this tab affect both the form display and the regular display, it was possible to hide a field’s label on the node create/edit form.

But Drupal 8, of course, has introduced the concept of a “form display”, which is configured separately from the regular display. And the form display page doesn’t offer any settings to control the placement or display of field labels.

I did find this blog post, which says that it can be done by implementing hook_form_FORM_ID_alter(). But I tried this, and the $form array that Drupal passes to my function doesn’t have a key named keys. The closest thing I can find in the array is $form('field_first_name')('widget')(0)('#title_display') (which has a value of “before”) – but changing this value to “invisible” (as shown in the blog post) doesn’t seem to affect anything.

I’ve also tried setting $form('field_first_name')('widget')(0)('#title') = null, but that doesn’t help either.

I realize that I could resort to hiding the label with CSS – but that isn’t a very elegant solution. Any ideas?

Thanks.