One article with login and register forms

rbousquet 10 May, 2010
Hello,

I have browsed the forum extensively to find out how to create one article containing both the login form and the register form (not a link, the actual fields and Login or Register buttons).
I have found similar topics, but never saw a concrete answer.

I have read the tutorial on how to create a custom register form, but my question is:
- how can I create a login form with ChronoForms? (I'm no joomla nor php expert)
- how can I put 2 forms (the login and register) on the same article?

If anybody knows how to do that, I would really appreciate! Please be specific, because I am new to all of this.

Thank you!
GreyHead 11 May, 2010
Hi rbousquet,

You can create the form part of this fairly easily, one form with two submit buttons will do the trick.

The problem will be finding the right code to run when the form submits. You'll probably need to find the code that Joomla uses and either connect to it or copy it into the form to make sure that the login/registration is correctly done. This isn't terribly difficult but does requires some PHP knowledge and knowing where to look in the Joomla code.

I think that Fredrik (nml375) may have posted part of this code here a while ago.

Bob
rbousquet 14 May, 2010
Thank you for the response!

I guess it means that what I am trying to do is not easily feasible unless we add some code... :?
This topic is locked and no more replies can be posted.