Copied to clipboard

Flag this post as spam?

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


  • Ashkan Sirous 38 posts 232 karma points
    May 23, 2016 @ 11:22
    Ashkan Sirous
    0

    Creating reusable modules with Surface controller

    Hi, I am new to Umbraco and I want to create some reusable items for my website. I saw the training videos on http://umbraco.tv/ and read some articles. Now I have a way in my mind but I hope to find a better way. Can anyone help me?


    I know I can create a macro, add my parameters to that macro and then call my surface controller from my macro, passing the parameters as the model. Is it the best I can do?


    Sample: I want to have a news list module to use on different pages. So I need to pass parameters like number of news on page, has paging, etc to it and then fill this values on each page

Please Sign in or register to post replies

Write your reply to:

Draft