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?
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 :
//mycontroler.js I use this (as in package)
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?is working on a reply...