YAFLogo

Posted by: danw - Sunday, 16 October 2011 12:19:04
This might be a noob question? I have yaf installed in a sub directory (~/forum) and I use a master page. How do I create a link from the default.aspx or masterpage (i.e. non yaf page, like a navigation menu) to use the yaf login controls (login.aspx); specifically the login popup? Code examples would be appreciated. Thanks in advance, danw

Posted by: killerwhale - Wednesday, 1 February 2012 11:57:22
I have the same issue. I would like to add login feature to my master page instead as seperate page. When i try to add login control, it is giving error. Any help or pointere would be appreciated.

Posted by: tha_watcha - Wednesday, 1 February 2012 13:47:01
Take a look at the Login Page how its done, you only need to add an standard asp.net Login control to your page, and dont forget to add the code that validates the user. Every thing you need to know can be found in the login.ascx and login.ascx.cs page.