IUrlSegmentProvider, 1:1 translations with different url
Hi guys, I'm trying to implement my own UrlSegmentProvider with the IUrlSegmentProvider interface,
the problem that I am having is that I cannot seem to find a reference to the hostname during the call to GetUrlSegment, because what I wanted to do is to return a different string based on the "current" hostname being evaluated (multilanguage installation with 1:1 contents but with different urls).
[Edit] I just realized that the function is been called 4 times on Document Save, even if I have just one hostname (bug?), and only one value is used (I tried with a random one), so my approach is completely wrong
Is the right / the only approach to implement my own IContentFinder ?
IUrlSegmentProvider, 1:1 translations with different url
Hi guys,
I'm trying to implement my own UrlSegmentProvider with the IUrlSegmentProvider interface,
the problem that I am having is that I cannot seem to find a reference to the hostname during the call to GetUrlSegment, because what I wanted to do is to return a different string based on the "current" hostname being evaluated (multilanguage installation with 1:1 contents but with different urls).
[Edit] I just realized that the function is been called 4 times on Document Save, even if I have just one hostname (bug?), and only one value is used (I tried with a random one), so my approach is completely wrong
Is the right / the only approach to implement my own IContentFinder ?
is working on a reply...