Hi friends,
I read about Hooks documentation. It mentioned about website_path_resolver.
here Hooks
But i could not able to use it. Can anyone help with an example?
Thanks in advance.
Hi @PKLogix:
Check this video from @buildwithhussain, you can how this hook works in deep.
Streamed just today, indeed!
Hope this helps.
2 Likes
Thanks for the video. But he havn’t used website_path_resolver, because it was not working. he used another approach.
Hi @PKLogix:
It’s working since v15.8.0
You need to write a method and solve your own routes. You can import original method and use it for all other ones.
Check Frappe Builder repo, it’s using website_path_resolver
override from hooks.py
Hope this helps.
Thanks for you detailed example. Appreciated!
I will try this out now.