My problem:
I have website where i have multiple designs, which administrator can switch between.
i have been wondering how to implement this into mvc2 project.
How i have done this in PHP was:
create rendered content and replace holder eg: {SITE:HEADER_CONTENT}
after i had class that rendered result and passed it to the user such as
$Website->Template->Render();
I have been wondering how to do this in in asp.net mvc2 (i cannot use mvc3 as project is almost done with one template)
Any guideance will be welcomed,
P
Instead i will be using controllers for content
menu controller
template controller
and so on.
In template controller i will be using template name for contstructor ie user will be able to specify template from template folder that will be parsed to html.
and parse the code into it