On Sun, Jan 24, 2010 at 2:00 AM, harmanjd <harma...@gmail.com> wrote: > I am using the MetaMegaProtoUser user (from the basic archetype) and > would like to change the home page to show the user form on the home > page if the user isn't logged in. > > So the logic should be - > > if user logged in -> show link to preferences > else -> show login form > > > I've looked at the code in in MetaMegaProtoUser and found the > loginXhtml and login functions and I tried doing this in the > index.html page just to show the form.. > > <lift:user.login/> > > Which didn't work. That is as far as I got. I guess I don't > understand the snippet stuff that well. :) > > > What approach should I take to acheive my goal here? > Can the login method be used to display the form (it seems to be used > on the user_mgt/login page) on other pages? > > > Thanks, > James > > > -- > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to lift...@googlegroups.com. > To unsubscribe from this group, send email to > liftweb+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > >
-- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.