Cutomizing the tab name
-
Hi,
I want to know if there is future plan to implement the customization of tab name as raised by below previous topic.
Re: Cutomizing the tab nameI can image for an OEM product, this display is quite prominent and it will be really nice to be able to change it.
Thanks.
-
As mentioned in the other post, you need to duplicate that index.html file into the overrides to do it. That and modify the manifest.json file as well as that's what smart phones draw from when you save the page as a bookmark. It's been this way for a while.
-
@cwangv said in Cutomizing the tab name:
I can image for an OEM product, this display is quite prominent and it will be really nice to be able to change it.
There is actually a hidden UI setting which enables you to do this now. If you go to
/ui/administration/json-store-editor/mangoUI-settingsThen change the JSON content to
{ "titleSuffix": "My app" }
You will see the suffix appended to the page title is now different.
-
@jared-wiltshire said in Cutomizing the tab name:
GOOD ONE, Jared.
I did it. Thanks for the pointer!
Can I be greedy by asking how I can change the icon for the tab as well? Would it be similar in how to change the logoSrc as shown in the same JSON file below:
{ "logoSrc": "/rest/v2/file-stores/public/JC.png", "titleSuffix": "JCA" }
-
@cwangv said in Cutomizing the tab name:
Can I be greedy by asking how I can change the icon for the tab as well? Would it be similar in how to change the logoSrc as shown in the same JSON file below:
The logoSrc in the UI settings only controls the logo at the top left of the UI pages.
To change the tab icon you have to override the logoX.png (e.g. logo16.png, logo32.png etc) files by placing equivalents in
${MA_HOME}/overrides/web/modules/mangoUI/web/img/