Skip to content

Conversation

@finnlewis
Copy link
Member

Note: detail release notes!

* Remove the override releated links from service pages

Fix #72

This is a holdover from the old BHCC site, but the functionlity for
automated links was never implemented in Localgov Drupal.

This will remove this field for new sites, and will always render the
releated links if they are present regardless.

* Remove references to override_related_links from tests

Related links should now always show when present

* Support existing installs using override to hide links.

---------

Co-authored-by: ekes <ekes@iskra.net>
@andybroomfield
Copy link
Contributor

andybroomfield commented Jan 21, 2025

@finnlewis How about:

This removes the field localgov_override_related_links labelled "Replace automatically generated links" on the content type localgov_services_page labbled "Service page" for all new installs and will now always show the related links field in the related links block when links are present.
For existing sites there is no change, although the field can be manually removed and then all releated links will display. The previous behaviour was for an unimplemented automatically generated links feature and was unused, as such no links would display unless this checkbox was ticked.

@finnlewis finnlewis merged commit 5aa9f66 into release-2.x Jan 22, 2025
8 of 11 checks passed
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.

3 participants