Copied to clipboard

Flag this post as spam?

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


  • zirit 1 post 71 karma points
    Jun 04, 2017 @ 11:07
    zirit
    0

    login as a member package.manifest does'nt get the right page to redirect

    I'm using the loginasmember (https://github.com/Mivaweb/Umbraco-MemberLogin) everything works fine, but the memberRedirectPage key returns only the number one and not the page number I needed... how can I solve this prob. my package.manifest :

    {
      "propertyEditors": [
        {
          "alias": "asLogin",
          "name": "as Login",
          "icon": "icon-autofill",
          "editor": {
            "view": "~/App_Plugins/asLogin/asLogin.html",
            "hideLabel": true
          },
          "prevalues": {
            "fields": [
              {
    
                "label": "Member redirect page",
                "description": "After the member is successfully loggedin, go to this page.",
                "key": "memberRedirectPage",
                "view": "treepicker"           
              }
    
            ]
          }
        }
      ],
    
      "javascript": [
        "~/App_Plugins/asLogin/aslogin.controller.js"
      ]
    }
    

    //mycontroler.js I use this (as in package)

    var urlPageRedirect = $scope.model.config.memberRedirectPage;  
    

    urlPageRedirect - always returns 1. how can I solve this problem? UPDATE - the problem is that the package.manifest is not connected to my controller... How can I solve this prob?

Please Sign in or register to post replies

Write your reply to:

Draft