Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# markfind 8/6/2008 5:10 PM
In the administration pages, the link under the "view site" link point to the configured site address, without taking in account to the current alias for the site.

This could come useful with a development evironment without touching production site address.

I have resolved on the Web/Admin/Controls/header.ascx.xs in the page_load event:
            else if (_page.ActiveNode != null)
            {
                hplSite.NavigateUrl = UrlHelper.GetFullUrlFromNodeViaSite(_page.ActiveNode);
            }

become:
            else if (_page.ActiveNode != null)
            {
                hplSite.NavigateUrl = UrlHelper.GetUrlFromNode( _page.ActiveNode ); 
            }

Marco

# martijnb 8/8/2008 10:30 PM
Thanks. I've also ran into this myself.