문제

Does anyone happen to know what the name is used for the sign up menu item? I've tried <lift:menu.item name="Signup" name="sign.up" name="sign_up" all to no avail. name="Login" produces a Log In link just fine.

What am I actually doing wrong here?

도움이 되었습니까?

해결책

It should be name="CreateUser".

The definition is like this (somewhere in ProtoUser.scala in Lift 2.1):

/** 
 * The menu item for creating the user/sign up (make this "Empty" to disable) 
 */  
def createUserMenuLoc: Box[Menu] =  
  Full(Menu(Loc("CreateUser", signUpPath, S.??("sign.up"), createUserMenuLocParams)))
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top