So I am confused about creating nested templates, I need help!
OK so here is my site structed
Wrapper
Header
Container
left-column
Page_Content
Right_column
footer
(left-column, page-content, right column are inside container. Add everthing is inside wrapper)
OK so whats bugging me is that, left-column will have links like:
HTML
CSS
ASP
these will display on everypage unless I change it. So If someone clicks HTML,they will be redirected to HTML.cshtml. Now for the HTML.cshtml it will have its own template _HTML (_HTML, will be running from the MainLayout) However for the _HTML page, I do
not want the links:
HTML
CSS
ASP
I want links to do with HTML, e.g. Paragraphs etc. How can I change this, but keep the site layout same?
if you don't undertstand me, then this should help:
http://www.w3schools.com/
When you click on HTML, watch how the links on the left change to all HTML topics, but the design is still the same.
CriticalErro...
Member
450 Points
409 Posts
Confused with Nested Templates
Mar 25, 2012 09:04 PM|LINK
So I am confused about creating nested templates, I need help!
OK so here is my site structed
Wrapper
Header
Container
left-column
Page_Content
Right_column
footer
(left-column, page-content, right column are inside container. Add everthing is inside wrapper)
OK so whats bugging me is that, left-column will have links like:
HTML
CSS
ASP
these will display on everypage unless I change it. So If someone clicks HTML,they will be redirected to HTML.cshtml. Now for the HTML.cshtml it will have its own template _HTML (_HTML, will be running from the MainLayout) However for the _HTML page, I do not want the links:
HTML
CSS
ASP
I want links to do with HTML, e.g. Paragraphs etc. How can I change this, but keep the site layout same?
if you don't undertstand me, then this should help:
http://www.w3schools.com/
When you click on HTML, watch how the links on the left change to all HTML topics, but the design is still the same.
My Site | My Blog