Login WebPart

Topics: Internet/Extranet Edition
Jan 19, 2009 at 1:23 PM
Edited Jan 19, 2009 at 1:27 PM
Hi,
Would someone know how to extract only the Login webpart that is part of the FBA found in the CKS?
I am using the SPListMP (http://www.codeplex.com/SPListMP), which is a list based FBA that works great, but I would like to have the login functionality that is in the Intranet/Extranet FBA.
I don't feel like installing the complete package as I won't be using it.
Also, I forgot to say that this login webpart has great features like hide itself once a user is logged on, change the prompts and error messages, ...  A really great piece of work!

Could someone help me with this?
Best regards,
Zoltanar
Developer
Jan 19, 2009 at 2:46 PM
You could always use the source code and compile your own assembly

Source:
http://www.codeplex.com/CKS/SourceControl/changeset/view/17930#358368
Resx:
http://www.codeplex.com/CKS/SourceControl/changeset/view/17930#358370
Designer:
http://www.codeplex.com/CKS/SourceControl/changeset/view/17930#358369

And the parts that go into the feature:
http://www.codeplex.com/CKS/SourceControl/changeset/view/17930#358294
http://www.codeplex.com/CKS/SourceControl/changeset/view/17930#358295
http://www.codeplex.com/CKS/SourceControl/changeset/view/17930#358296


Or, you could deploy the whole FBA assembly, but only deploy and activate the Login Web Part Feature.  That will require rewriting the feature for FBA, or at least only using the one for the login web part.  However, you might have to do some code changes, or changes to the resx anyway to support a different provider.

Regards,
Mike Sharp
Jan 19, 2009 at 3:07 PM
Wow!  That was a fast answer!
Thanks for the information Mike.
I will try to see what I can do with the above information - I need to understand what I have to do first :D - I am not exactly that confortable with all these thing, but will give it a try.

I try to keep my environment clean of unused stuff when I can.  Therefore, if I can, I would like to only deploy the web part I need, not the complete assembly.

Thanks again,
Zoltanar