CuBoulder / tiamat-theme

University of Colorado Boulder Drupal 9+ base theme
GNU General Public License v2.0
4 stars 0 forks source link

Links to content broken on launched sites #1074

Open kevincrafts opened 1 week ago

kevincrafts commented 1 week ago

Sites that have been launched at Colorado.edu urls are showing some links that try to link to the domain root instead of content within the site.

Site Information link

The link in the site information that links to the homepage of the site links to domain root/colorado.edu

Links in WYSIWYG

For example, on the homepage of https://www.colorado.edu/demos/documentation/ in the Specialized Content Pages area, the four urls link to the homepage/domain root instead of in the site. These links were created the correct way within the site and work on the sandbox url but are now broken on the live site.

Content List Block

Another example is the content list block on https://www.colorado.edu/demos/documentation/block-content where each of the urls again links to the domain root instead of the site.

Article Lists

Articles blocks link to paths at the domain root.

https://www.colorado.edu/demos/webexpress/ https://www.colorado.edu/demos/webexpress/news-announcements

People Lists

People list pages link to the domain root.

https://www.colorado.edu/demos/webexpress/our-team

Collection Grids

Collection items in the grid link to domain root.

https://www.colorado.edu/demos/documentation/block-content/collection-grid

Buttons

In the case of buttons, we have some of the full sandbox urls being used and those links go back to the sandbox url but the css doesn't load correctly:

image
jcsparks commented 1 week ago

Fix for the JSON API generated version has already been added in. https://github.com/CuBoulder/tiamat-theme/blob/main/CHANGELOG.md#json-api-consumer-block-bug-fixes

We've already pushed that fix out to the sandboxes but the live sites are on the production upstream which hasn't been updated yet. We'll try to get that updated soon.