Open photomedia opened 2 years ago
I believe this is the phrase that ends up in the title tag, but it doesn't work because title ends up with text only, no tags. https://github.com/eprints/orcid_support_advance/blob/dd18186aac77f5187971f65be9e9aee69a183e98/lib/lang/en/phrases/z_orcid_support_advance.xml#L84
I overwrote these two phrases as follows to solve the issue:
<epp:phrase id="Plugin/Screen/ManageOrcid:title">Manage ORCID Permissions</epp:phrase>
<epp:phrase id="Plugin/Screen/ManageOrcid:orcid/connect">Connect to ORCID</epp:phrase>
This phrase shows up in the HTML title, and on the menu bar. The "Connect to ORCID" also had a trademark symbol, which I didn't think was helpful so I removed that too. It created an imbalance in the menu anyway to have that ORCID logo in the menu system, as no other link has that in the menu. The "Create/connect to ORCID" button still has the logo, so that's sufficient, IMO, and it resolves the HTML title issue. This is a simple enough customization, but perhaps worth considering for the plugin default config.
It looks like the current phrases result in an tag inside the
<title>ORCID logoManage ORCID Permissions -...</title>
There is a title phrase that includes an image, and that's an alt text of it. I don't think that would ever work, the way to get the icon to show up on the tab would be for the favicon to change for that page. A