Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, I would like to retrieve CultureInfo from root nodes., I have a Query that returns all root nodes.
var rootNodes = Umbraco.ContentAtRoot().Where("Visible")
I did a debug on this line but I can't find a way to retrieve the CultureInfo, that is set in backend configuration.
I did quite some research and event browsed the source code, I found a class that may be Suited to my needs, but I get YSOD whe do I use it.
mbraco.Web.Routing.DomainHelper.GetNodeDomains(Id, true);
So if someone can help me out on this, I would be really pleased.
Btw This is my first post. Here, I managed to construct a whole page and user portal connected to and ms Dynamics NAV system in just about 4 days. Another big fan of Umbraco!
Ok I found it.
global::umbraco.cms.businesslogic.web.Domain.GetDomainsById(rootLangNode.Id)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Retrive Language (CultureInfo) from Root nodes. (SOLVED)
Hi, I would like to retrieve CultureInfo from root nodes., I have a Query that returns all root nodes.
I did a debug on this line but I can't find a way to retrieve the CultureInfo, that is set in backend configuration.
I did quite some research and event browsed the source code, I found a class that may be Suited to my needs, but I get YSOD whe do I use it.
So if someone can help me out on this, I would be really pleased.
Btw This is my first post. Here, I managed to construct a whole page and user portal connected to and ms Dynamics NAV system in just about 4 days. Another big fan of Umbraco!
Ok I found it.
is working on a reply...