SaaS CMS has officially launched! Learn more now.
AI OnAI Off
SaaS CMS has officially launched! Learn more now.
Hi,
The functionality from the screenshot is available under ContentDetails.js file.
The language link is created using code:
var url = new dojo._Url(window.top.location.href); var contentLink = 111; var href = [url.scheme, "://", url.authority, url.path, "?language=", item.text, "#context=epi.cms.contentdata:///", contentLink].join("");
You need to pass contentLink value.
You could also use a server method from PageEditing class
PageEditing.GetEditUrlForLanguage(contentLink, language)
Good morning,
I need to change page language when content mode is 'Edit'.
It should works as 'Language' functionallity from header panel.
Is it possible to duplicate this behaviour to my application?
I use redirect to new url and it works for preview and default modes.