The latest version of the Autofill form plugin, from git hub, seems to be not working. Here is how to duplicate;
1. Install a fresh copy of Joomla.
2. Install the latest Fabrik package from http://fabrikar.com/download?downloads___type=Component
3. Update the Fabrik install with the version on github using the instructions from http://fabrikar.com/forums/index.php?wiki/update-from-github/
4. Create a list called "Joomla Users" and link it to the existing "users table" instead of creating a new table.
5. Create a list called "Profiles".
6. Create 3 new elements in the "Profiles" list;
9. Click "Add" and then select a user from the dropdown. The other 2 fields never get populated. Also, if "Autofill Confirmation" is set to yes, this also never fires.
One interesting note, is that if I do not update Fabrik from Github and just use the base installation and I use an earlier copy of Autofill, "from December", everything works as expected and Autofill populates the mapped fields.
I took a brief look at it with Firebug, and it appears that the autofill-min.js file never gets loaded or attached. If I set a breakpoint anywhere in it, even on init or setup, it never breaks. But if I do the same breakpoint on the earlier version of Fabrik and Autofill, the breakpoint always gets triggered.
I initially did this test on a backup of my site and it was not functioning. So to rule out any potential conflicts, I repeated my test on a fresh install of Joomla in a MAMP sandbox.
I tested this with Safari, Chrome and Firefox with the same results in all 3 of those browsers.
The github branch that I pulled from to do the update was the "origin/Joomla3" branch.
1. Install a fresh copy of Joomla.
2. Install the latest Fabrik package from http://fabrikar.com/download?downloads___type=Component
3. Update the Fabrik install with the version on github using the instructions from http://fabrikar.com/forums/index.php?wiki/update-from-github/
4. Create a list called "Joomla Users" and link it to the existing "users table" instead of creating a new table.
5. Create a list called "Profiles".
6. Create 3 new elements in the "Profiles" list;
A. User: plugin = databasejoin, Render = Dropdown, Table = "Users", Value = ID, Label = Name
B. FullName: Field
C. Email: Field
7. Attach the Autofill plugin to the "Profiles" form and set the values;B. FullName: Field
C. Email: Field
A. Published = Yes
B. In = Both
C. On = Both
D. Data = Site Database
E. List = Joomla Users
F. Lookup Field = ID
G. Field to Observe = User
H. Map Data = {"gh0t1_users___name":"profiles___fullname","gh0t1_users___email":"profiles___email"}
I. I did not set anything in Options except for "Autofill Confirmation" = No
8. In the Joomla Admin Side, click on "View Data" from either the Profile Form or Profile List.B. In = Both
C. On = Both
D. Data = Site Database
E. List = Joomla Users
F. Lookup Field = ID
G. Field to Observe = User
H. Map Data = {"gh0t1_users___name":"profiles___fullname","gh0t1_users___email":"profiles___email"}
I. I did not set anything in Options except for "Autofill Confirmation" = No
9. Click "Add" and then select a user from the dropdown. The other 2 fields never get populated. Also, if "Autofill Confirmation" is set to yes, this also never fires.
One interesting note, is that if I do not update Fabrik from Github and just use the base installation and I use an earlier copy of Autofill, "from December", everything works as expected and Autofill populates the mapped fields.
I took a brief look at it with Firebug, and it appears that the autofill-min.js file never gets loaded or attached. If I set a breakpoint anywhere in it, even on init or setup, it never breaks. But if I do the same breakpoint on the earlier version of Fabrik and Autofill, the breakpoint always gets triggered.
I initially did this test on a backup of my site and it was not functioning. So to rule out any potential conflicts, I repeated my test on a fresh install of Joomla in a MAMP sandbox.
I tested this with Safari, Chrome and Firefox with the same results in all 3 of those browsers.
The github branch that I pulled from to do the update was the "origin/Joomla3" branch.
Last edited: