November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Here's some sample code: Programmatically switching language branch in EPiServer.
Frederik
Didn't quite get how i can use that info to construct a link...further:
this does not work, why?
CurrentPage.GetPageLanguage("en").LinkURL used on a (eg) finnish page does not produce link to the english page.
/Lassi
Hey,
Try this:
var pageReference = new PageReference(???)
foreach(culture in siteCultures){
var urlResolver = ServiceLocator.Current.GetInstance<UrlResolver>();
var url = urlResolver.GetVirtualPath(pageReference, culture);
}
I would like to have a link in my menu (.ascx) to different languages so that the link points to the same page (ID). Can't just find a simple way to do <a href=" ???????? " > to achieve this. Good hacks?