Skip to content

Feature/search express entries - #2

Open
broreece wants to merge 10 commits into
mainfrom
feature/search-express-entries
Open

Feature/search express entries#2
broreece wants to merge 10 commits into
mainfrom
feature/search-express-entries

Conversation

@broreece

Copy link
Copy Markdown

Fixes #1

Description

This PR allows adding express entities into the concrete 5 adaptor.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

  • Checked existing search behaviour remains unchanged.
  • Confirmed the search can now search for express entities specified in the config

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented on my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation/README.md/CHANGELOG.md
  • I have checked my code and corrected any misspellings

Caution areas:

  • Let me know if this approach is appropriate for the issue or if I should be looking at a different approach.
  • Currently the express entity search result is rather vague (At least when I searched for just the express entity name) let me know if this is intended, you can see the example in the bottom screenshot.

Sceenshots:

New config fields for the express entities, NOTE if no handle is inputted instead of all express entities being shown like pages none are shown. If requested I can change this so all express entities are shown in this case.
Screenshot 2026-08-17 at 11 58 18
Search result for the express entity:
Screenshot 2026-08-17 at 15 32 36

(int) $entry->getID()
),
'title' => $entry->getLabel(),
'url' => '',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to set URL. Select target page from sitemap per an express entity.

@broreece

Copy link
Copy Markdown
Author

@hissy I made the suggested update to use the target page of the express entity.

In order to show editors will need to add an express list that points to a detail page:
Screenshot 2026-08-18 at 14 01 05
And then add the entry detail block on the provided page.
Screenshot 2026-08-18 at 14 01 49

After which the search should correctly use the express entries url. Please let me know if this methodology was wrong here.

@broreece
broreece requested a review from hissy August 18, 2026 05:03
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.

[Concrete CMS Adapter] Search Express entries

2 participants