I'm just in the process of upgrading my site from V4 to v5 and am a bit stumped on how to use macros in v5.
When i create a document type and then a template for that document type i want to be able to include a MVC partial view so i can display a shopping basket for example. But how do i add a controller to my document type so that when the URL is hit i can create the model in the code behind and then pass it through to my partial view?
I'm suprised that i'm unable to find any support or documentation for Umbraco 5 yet you want people to migrate over to it, how are we supposed too with no guidance?!
How to use macros in Umbraco 5?
Hello,
I'm just in the process of upgrading my site from V4 to v5 and am a bit stumped on how to use macros in v5.
When i create a document type and then a template for that document type i want to be able to include a MVC partial view so i can display a shopping basket for example. But how do i add a controller to my document type so that when the URL is hit i can create the model in the code behind and then pass it through to my partial view?
Please help!
Thanks,
Mike
Hi,
Is anyone able to help with this please?
I'm suprised that i'm unable to find any support or documentation for Umbraco 5 yet you want people to migrate over to it, how are we supposed too with no guidance?!
Thanks,
Mike
Finally, found a good post:
http://h4rdboiledegg.wordpress.com/2012/02/03/adventures-with-umbraco-5-part-5-surface-controller/
is working on a reply...