OpenContent
OpenContent copied to clipboard
Allow creation of custom Search url using handlebars
I'm trying to get around an limitation of the DNN Search indexer. By default the urls of the DNN Search results point to the page the module is on. and not to the Module on that page.
So I tried this in the manifest
"dnnSearchUrl": "{{@root.Context.MainUrl}}#{{@root.Context.ModuleId}}"
This would point a user to the module and could even be manipulated to point to an items in a multi item template (when all are shown on one page|)
Although this works:
"dnnSearchUrl": "#{{@root.Context.ModuleId}}"
There does not seem to be any support for the module page as a handlebars token.
If there would be an option for that, it would open up a lot of extra options :-)