Copied to clipboard

Flag this post as spam?

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


  • Joel 7 posts 27 karma points
    Oct 22, 2014 @ 22:13
    Joel
    0

    What does "2. Place the autologon macro in the page" mean?

    So I'm going through the steps and I'm stuck on this one. What is the autologon macro? I don't have any macros in my Umbraco 7 install. Where do I find the macro and how do I put it on a page?

     

    Edit: I found the Macro. I was trying to find it in Visual Studio, but when I went to Developer -> Macros in the web interface there it was. Now to put it on a template page somehow.

    Edit the second: I created a login template page in the Templates folder and stuck this in the file:

    @inherits Umbraco.Web.Mvc.UmbracoTemplatePage
    @{
        <umbraco:macro Alias="AutoLogin" language="cshtml" runat="server"></umbraco:macro>
    }
    

    Is this right? I've tried a number of things and they all just render nothing or will render the code itself.

    Edit 3:

    Now I've tried this (and other things) and they all just render nothing

    @inherits Umbraco.Web.Mvc.UmbracoTemplatePage
    @{
        <div>
            @Umbraco.RenderMacro("AutoLogin")
        </div>
    }
    
  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    Oct 23, 2014 @ 08:19
    Dennis Aaen
    0

    Hi Joel and welcome to our,

    The reason why it´s just render nothing at all is probably because this package is not compatible with Umbraco 7. If you take a look on the package for the package you will see that it says it requires .NET version 4.0 and your Umbraco version should be a version 4.11.x

    Lots of things are change from Umbraco 4.x.x to Umbraco 7, not only the design of the backoffice has been change but also the way that the propertyEditors are working. Umbraco 7 are using AngularJS.

    Another fact is that Umbraco requires running .NET version 4.5

    And as you can see here is another post about compatible with Umbraco 7 for this package. http://our.umbraco.org/projects/backoffice-extensions/umbraco-active-directory-authentication/project-discussion/48702-Umbraco-7-Compatibility

    /Dennis


Please Sign in or register to post replies

Write your reply to:

Draft