How to hide or remove Sign up and Edit my profile link from Page Builder (PB2) theme

  • 02 Oct, 2012

In general, as mentioned in the Portal info center, Page builder menus located at :  fs-type1/themes/PageBuilder2/menuDefinitions

http://www-10.lotus.com/ldd/portalwiki.nsf/dx/Page_builder_menus_wcm7

So to remove/hide the Sign up link do the following :

  1. Connect to your fs-type1 using a webDav :
    http://localhost:10039/wps/mycontenthandler/dav/fs-type1

  2. Go to  fs-type1/themes/PageBuilder2/menuDefinitions/ directory

  3. modify bannerLink.json

from

visibilityFn: com.ibm.pb.contextMenu.sharedActions.isAnonymous,
id: “BannerLinks:signUp”

to

visibilityFn: function(ID, resourceType, metadata, obj){ return false;},
id: “BannerLinks:signUp”

To remove/hide the Edit my profile link do the following :

  1. modify userActions.json file in  fs-type1/themes/PageBuilder2/menuDefinitions/ directory

from

visibilityFn: com.ibm.pb.contextMenu.sharedActions.isAuthenticated,
id: “UserActions:selfCare”

to

visibilityFn: function(ID, resourceType, metadata, obj){ return false;},
id: “UserActions:selfCare”

Note: you may want to clear the browser cookies and cache before testing and remove the sign up link from the login portlet. Just go to confirguration page of the portlet.

Related Posts

Proud to be an HCL Ambassador 2021

  • 15 Dec, 2020

​If you have a problem, and no-one else can help, and if you can find them, maybe you can ask an HCL Ambassador… !(http://www.mysphere.com.br/wp-content/uploads/2020/12/HCLAmbassaborlight4x.png) See

Proud to be an HCL Ambassador 2021Read More

WebSphere Application Server Configuration Comparison Tool

  • 06 Sep, 2019

The Configuration Comparison Tool (CCT) is a lightweight wsadmin script and Python report generation script which will produce HTML reports on configuration settings for the following types of resourc

WebSphere Application Server Configuration Comparison ToolRead More

IBM Support Community for Digital Experience Products

  • 07 Nov, 2017

In the next week Digital Experience products: • WebSphere Portal • Web Content Manager • Digital Experience Patterns • Digital Experience on Cloud • Forms Experience Builder • Forms Experience Builde

IBM Support Community for Digital Experience ProductsRead More