Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mike 12 posts 34 karma points
    Feb 08, 2012 @ 10:20
    Mike
    0

    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 add a macro it just adds a view but how do i hook up a controller to that view? I need to be able to get items from umbraco like i would have done with a normal v4 maco using a .ascx file?

    Please help!

    Thanks,
    Mike

  • ubihombre 1 post 21 karma points
    Mar 30, 2012 @ 03:58
    ubihombre
    0

    I'm on the same boat...I found this short article about it (http://shazwazza.com/post/Partial-View-macros-in-Umbraco-v5.aspx) which is good, but I need something with more depth. Specifically around Razor engine powered macros, anyone got any good examples or tutorials to share that would be highly appreciated!

    JP

Please Sign in or register to post replies

Write your reply to:

Draft