Hello!
I'm trying to make a simple registrtation form but I'm lost a little bit in the new v4.
I created a basic form like J! 1.6 default reg.: Name, username, password, password check, email, email check, captcha and submit button
After this I added events:
On load: load css, load js, load html, load captcha
On submit: check captcha(inside onfail an event loop), registration(inside on success Thanks message)
After this I set up the fields in reg. event and set the user group to Author, disabled joomla registration overwrite, set activation to no, no email, no auto login etc... and saved as registration
Then i tested it and get this php fatal error:
Am I missing something in the form config???
Isn't this error becouse one or more of J! core helpers aren't loaded?
Oh almost forget. I made a menu item (URL) for the form becouse withuot Itemid it wouldn't show up. The form action url now looks like this: "http://localhost/sitetest/index.php?option=com_chronoforms&chronoform=registration&Itemid=780&event=submit" and the menu link of course is the same but without the &event=submit
Thanks in advance
I'm trying to make a simple registrtation form but I'm lost a little bit in the new v4.
I created a basic form like J! 1.6 default reg.: Name, username, password, password check, email, email check, captcha and submit button
After this I added events:
On load: load css, load js, load html, load captcha
On submit: check captcha(inside onfail an event loop), registration(inside on success Thanks message)
After this I set up the fields in reg. event and set the user group to Author, disabled joomla registration overwrite, set activation to no, no email, no auto login etc... and saved as registration
Then i tested it and get this php fatal error:
Fatal error: Call to undefined method JAccess::get_group_id() in C:\www_root\sitetest\administrator\components\com_chronoforms\form_actions\joomla_registration\joomla_registration.php on line 85
Am I missing something in the form config???
Isn't this error becouse one or more of J! core helpers aren't loaded?
Oh almost forget. I made a menu item (URL) for the form becouse withuot Itemid it wouldn't show up. The form action url now looks like this: "http://localhost/sitetest/index.php?option=com_chronoforms&chronoform=registration&Itemid=780&event=submit" and the menu link of course is the same but without the &event=submit
Thanks in advance