Overview

I updated the Omeka S theme using Bootstrap 5. Here I introduce the features added in this update.

https://github.com/ldasjp8/Omeka-S-theme-Bootstrap5/releases/tag/4.0.2

New Features

I added an “Advanced Search URL” option to the theme settings screen.

In the example above, a setting is configured to navigate to the “page/advanced” page.

Specifically, when clicking the “Advanced Search” button shown below, it navigates to the URL configured here. (If not configured, it navigates to Omeka’s standard advanced search page.)

In the following article, I introduced how to create a custom search page. By combining it with this feature, you can achieve navigation to a custom search page.

Bug Fixes

Sort

There was a bug where sort items were not displayed as shown below.

It was necessary to change what was being used as $sortBy to $sortConfig as shown below.

https://github.com/ldasjp8/Omeka-S-theme-Bootstrap5/commit/5928a37fc4af1cb26ac0b6df13c25cf4f57eb66e#diff-2388527aaa944d338d7a5144cb4e49aa659702c2d628d12103e090f7cd6ed3bc

When used in combination with the Advanced Search module, there were areas where the layout was broken. While there are still some inconsistencies, improvements have been made.

Summary

I hope this is helpful for those using Omeka S.