Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes broken links on post-upgrade/install page #66

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

vingle
Copy link
Contributor

@vingle vingle commented Jun 27, 2022

Joomla upgrade and installation screen featured five broken links to register a site and access docs (described here), this fixes them.

After on J3 (no change from before)

image

After on J4

image

Notes

Previously the upgrade and installation success links gave the same link to the upgrade guide, even if installing the first time; this now links to the Joomla upgrade guide when upgrading and Joomla install guide when installing.

Links were previously generated with a function docURL2 - I couldn't find documentation for it. On trying what looked like a more recent 'docURL' function (civicrm/civicrm-core#16065) it outputted a link with 'learn more' as the text, so I adopted the simplest option on the assumption that a) a fix is better than broken links; b) the link text remains potentially translatable (although none of this copy is in {ts}); and b) someone wanting to change those links in the future may be as puzzled as me, but could at least easily adjust URLs in this page. Can make a new PR using DocURL if someone can point me to an explainer.

Featured old/broken links to wiki/confluence; update fixes to point to new docs. 
NB: not using the DocURL2 function as couldn't find documentation for it, instead linking directly to the doc url, so have adjusted the markup to include the link text.
@aydun
Copy link
Contributor

aydun commented Feb 21, 2024

Thanks @vingle

@aydun aydun merged commit a849d82 into civicrm:master Feb 21, 2024
@vingle
Copy link
Contributor Author

vingle commented Feb 21, 2024

Thanks for the merge @aydun!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants