Customizing the Share Header in Alfresco | Code Factory





File : share-header.get.js ( <Alfresco> -> tomcat -> webapps -> share -> WEB-INF -> classes -> alfresco -> site-webscripts -> org -> alfresco -> share -> header )


Removing Menu Items :





This code remove 'My Files' from the header if user is Admin.

Other widgets for removing menus from the header...





Before :




After :





Customizing the Sites Drop Down Menu :






This code remove 'Site Finder' option from the 'Sites' menu.

Before :




After :









Tags :

Alfresco Tutorials
Customizing the Share Header in Alfresco | Code Factory
Modifying the Share Header
Removing Menu Items
Customizing the Sites Drop Down Menu
Modify The Share Header in Alfresco


Comments

  1. I really appreciate the information shared above. It’s of great help. MaxMunus provides Remote Support For Corporate and for Individuals. If anyone is facing any issue in his project of #ALFRESCO, we can support them remotely , kindly Contact MaxMunus
    MaxMunus Offer World Class Industry best Consultant on #ALFRESCO. We provide end to end Remote Support on Projects. MaxMunus is successfully doing remote support for countries like India, USA, UK, Australia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain, and UAE etc.
    Avishek Priyadarshi
    MaxMunus
    E-mail: avishek@maxmunus.com
    Skype id: avishek_2.
    Ph:(0) 8553177744 / 080 - 41103383
    www.MaxMunus.com

    ReplyDelete
  2. hi,
    This is so helpful. But i want to do this changes for non-admin user.


    so can you tell me how can i do it for non-admin user.

    thanks and reards.

    Amar sutar

    ReplyDelete
    Replies
    1. If you have any query then please comment on https://34codefactory.wordpress.com/

      if (user.isAdmin)
      {
      // Admin part
      } else {
      // normal user part
      }

      Delete

Post a Comment

Popular posts from this blog

How to get IP address and MAC address of client in java | #CodeFactory

At Least One Checkbox Is Checked From All CheckBox Group | #CodeFactory

FTP Connection In Installed Alfresco | Code Factory