Configuring the Navigation, i think i did it wrong :-) Its a separate file, right?

Topics: Writing themes
Nov 6, 2011 at 2:19 PM

Hi

 

I recently placed some manual navigation in my layout.cshtml and removed the razor rendering of the navigation.

 

I realize now that i have done this wrong, i should really leave the razor rendering of the navigation and edit the navigation cshtml file.

 

Where is this file and do i place it in my theme directory?

 

Thanks in advance.

Nov 7, 2011 at 11:07 AM

It's Menu.cshtml; fire up Shape Tracing and it will tell you the right file (and even create a new copy in your theme if you click Create)

Nov 7, 2011 at 11:51 AM

Wow ! this is cool :-)   I didn't realize this i was doing everything manually :-)

 

Once created with shape tracing i presume i can edit it in VS 2010 to have a bit more control?

 

Thanks once again

Coordinator
Nov 7, 2011 at 7:16 PM

Yes.