Pull Request for a regression, 3.6.0-alpha TOS do not show-up properly anymore
Summary of Changes
Recent update in file "plugins\user\profile\profile.php" renamed the "fields" directory in "field" and removed the JFormHelper::addFieldPath. Re-added back that line with proper directory.
JFormHelper::addFieldPath(DIR . '/field');
Testing Instructions
Ensure TOS is working with e.g captcha, association...
@dgt41@mbabker
the issue in this case and why it does not work for profile is because the specific form itself (profiles.xml) is not in the root of the plugin but in a subfolder /profiles/profiles.xml. It is used only when registering in frontend or creating a user in back-end. The general code to load fields from a field folder in the com_plugin model will only load the field type for the basic plugin xml in its root, i.e. here for user/profile/profile.xml
brianteeman
- test_item
- 27 May 2016
- Tested successfully
Where's it being loaded without that field? #9796 purposefully changed it so that certain conditions would automatically add the required lookup path.