Hello All !
I'm slowly climbing the learning curve for Joomla and ChronoForms :-)
Today, I'm setting up a Profile page for my user detail data, that was previously entered by a ChronoForm linked to a detail data table and to the internal user table of Joomla (with the Registration plugin), and I have some questions about things that don't really work as I thought (or understood with my poor only neuron still able to function):
1. I had to duplicate my initial registration form, because when I enabled the profile plugin and then tried to access the form with the syntax "&chronoformname=inscription&user_id=99" in the URL, I got a "cannot re-register a user a second time " kind of error
2. on the duplicate form (called "profil"), I removed some of the validation checks (like passwords), added some hidden fields (like email and username, so I could send them back by e-mail), and when I click the "Validate" button, the result is sent by email, but the data isn't saved in the table. What did I miss or remove that I shouldn't have ?
3. my profile form is accessible directly by it's URL, bypassing all logged-in checks: try it: Profil 163. It's a test site, so don't worry, it's test data. I guess I can add some php code at the beginning of the form code to be sure my user is connected before displaying the form, but I'd need some pointers here.
4. I also don't know how to create a dynamic user dependent menu item that would send the user on it's profile page when clicking on it, since the user_id parameter value is Joomla's user id (like the "your details" in the user menu. Is there a way to pass this parameter from a menu item ?
Thanks for your help,
Paul-Henri
I'm slowly climbing the learning curve for Joomla and ChronoForms :-)
Today, I'm setting up a Profile page for my user detail data, that was previously entered by a ChronoForm linked to a detail data table and to the internal user table of Joomla (with the Registration plugin), and I have some questions about things that don't really work as I thought (or understood with my poor only neuron still able to function):
1. I had to duplicate my initial registration form, because when I enabled the profile plugin and then tried to access the form with the syntax "&chronoformname=inscription&user_id=99" in the URL, I got a "cannot re-register a user a second time " kind of error
2. on the duplicate form (called "profil"), I removed some of the validation checks (like passwords), added some hidden fields (like email and username, so I could send them back by e-mail), and when I click the "Validate" button, the result is sent by email, but the data isn't saved in the table. What did I miss or remove that I shouldn't have ?
3. my profile form is accessible directly by it's URL, bypassing all logged-in checks: try it: Profil 163. It's a test site, so don't worry, it's test data. I guess I can add some php code at the beginning of the form code to be sure my user is connected before displaying the form, but I'd need some pointers here.
4. I also don't know how to create a dynamic user dependent menu item that would send the user on it's profile page when clicking on it, since the user_id parameter value is Joomla's user id (like the "your details" in the user menu. Is there a way to pass this parameter from a menu item ?
Thanks for your help,
Paul-Henri