Thread: NavigateUrl
View Single Post
  #2 (permalink)  
Old May 12th, 2011, 12:35 AM
drisgill drisgill is offline
Wrox Author
Points: 30, Level: 1
Points: 30, Level: 1 Points: 30, Level: 1 Points: 30, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2010
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I think I understand your question, and I'm wondering if /blogs/ is a site collection or just a site. ~sitecollection will take you to the root of the site colleciton... while ~site would be the root of the current site.

That being said consider that the NavigateUrl is simple used to set the link that is followed when the site logo is clicked. The CssRegistration and SiteLogoImage aren't using the site collection relative link here, so "/" references the top level of the web application. So the CSS and image in the 2nd example are looking at the root of the web app for the sub folders where the 1st example is looking at the root/blogs.

Does that make sense?
Reply With Quote