-
Notifications
You must be signed in to change notification settings - Fork 23
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
Indexing Modular and Custom Field Content with Flex Pages #102
Comments
The I need to take a look what's going on here... |
OK, let me know if you need more information. |
You are missing:
|
Er, thanks ( :embarrassed: ) I've added that to all modular pages, rebuilt the TNT Index, and cleared the cache. There is still no sign of page.content, itemlist.itemtitle, or itemlist.itemdesc text from infolist.en.md in the search results. Worse, the parent modular.en.md page content (the "very-unique-word" example above) is no longer being found either. When I remove the tntsearch: from the header, the parent page content is restored in the search results. |
Another data point: if I drop the
|
You mean if you put the modules into the main template of the page it works? Does this new code work in the regular pages, btw? |
Hi - meant to update this issue. I reach out to Trilby for paid support and @rhukster was able to get my site working for launch. The changes he came up with were:
with
The |
I'm not able to get modular and custom field content indexed with Flex Pages enabled, despite creating a template as explained in the docs.
I have a modular page with a few modules that use a custom blueprint:
The following YAML appears in
modular.en.md
:The module page content in
infolist.en.md
looks like this:The modular page custom field content in
infolist.en.md
looks like this:I've created a
templates/tntsearch/modular.html.twig
file to capture modular and custom field content:When I index the site, I get only the parent
modular.en.md
page content, and nothing from theinfolist.en.md
module page content or custom field.Could this be related to the lack of Flex Page support for
@self
in blueprints as noted at Page Blueprint with filepicker field does not recognize folder value of @self?The text was updated successfully, but these errors were encountered: