OpenContent icon indicating copy to clipboard operation
OpenContent copied to clipboard

Allow creation of custom Search url using handlebars

Open Timo-Breumelhof opened this issue 1 year ago • 1 comments

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 :-)

Timo-Breumelhof avatar Aug 27 '24 13:08 Timo-Breumelhof