Deep linking hashed page urls using Content picker
Hi,
Wondered if some could help me if this is possible, I'm using bootstrap 5 tabbed content component within my Umbraco 11 project which renders out product content within each tabs see below image:
Now these tabs are generated via separate content nodes within the parent page is below image:
And each of these tabs generat a hashed url so each individual tab has it's own unique page url which can be direct linked se image below:
Here comes the problem, if I wanted to deep link to these tabbed pages from other pages from within the Umbraco I can use the Content picker but this only can select the parent page, not the hashed url, can this be achieved using the content picker, or any other solution I'be overlooked?
I'm wondering if you could create a Custom UrlProvider for your 'Tab' document Type, so that if it were picked and you called .Url() your custom UrlProvider would fire first in the queue of UrlProviders and then you could generate it's Url as being the parent Url + the anchor # of the tab?
There is an example here in the docs where the word 'fish' is added onto the URLs of all product page types which is similar...
Deep linking hashed page urls using Content picker
Hi,
Wondered if some could help me if this is possible, I'm using bootstrap 5 tabbed content component within my Umbraco 11 project which renders out product content within each tabs see below image:
Now these tabs are generated via separate content nodes within the parent page is below image:
And each of these tabs generat a hashed url so each individual tab has it's own unique page url which can be direct linked se image below:
Here comes the problem, if I wanted to deep link to these tabbed pages from other pages from within the Umbraco I can use the Content picker but this only can select the parent page, not the hashed url, can this be achieved using the content picker, or any other solution I'be overlooked?
As always any help would be much appreciated :-)
Hi Nick
I'm wondering if you could create a Custom UrlProvider for your 'Tab' document Type, so that if it were picked and you called .Url() your custom UrlProvider would fire first in the queue of UrlProviders and then you could generate it's Url as being the parent Url + the anchor # of the tab?
There is an example here in the docs where the word 'fish' is added onto the URLs of all product page types which is similar...
https://docs.umbraco.com/umbraco-cms/reference/routing/request-pipeline/outbound-pipeline#example-1
regards
Marc
is working on a reply...