Provides functionality and other utilities for the UCF Online website.
Provides functionality and other utilities for the UCF Online website.
Head over to the Online Utilities wiki for detailed information about this plugin, installation instructions, and more.
Enhancements:
- Added composer file.
- Adds logic for automated degree importer for Online
- Adds logic for adjusting RFI forms based on a series of ACF fields in the Child-Theme
- Adds logic to pre-select a degree whenever a gravity form is on the page that lists degrees within a drop down.
- Added customizer setting for the area under the Request for Information form.
- Added the Saleforce Record ID to the degree form.
Documentation:
- Updated contributing doc to reflect the switch from slack to teams.
Bug Fixes:
- Corrected PHP warning that was being thrown when a function was put into the
array_shiftfunction instead of a variable.
- Modified markup generated for privacy policy links on forms, and where those links are injected (they're now positioned immediately after the form, instead of in the form footer.)
- Re-added form button filtering from the old Online theme, which modifies prev/next/submit buttons to use a
<button>element instead of<input>. Doing this allows for more flexible styling options, necessary for some styles added in the Online Child Theme (for previous buttons.) - Removed option in form settings for right-aligned form labels, as they're not supported by the Online Child Theme or Athena GravityForms Plugin.
- Added functionality for Online v3 that is not suitable for theme inclusion--primarily form data population and tuition-related logic
- Removed tuition import script in favor of using the Tuition and Fees plugin's importer
- Fixed missing Distance Learning fee from per credit hour totals
- Initial release
- v2.0.0
- v2.0.0+ are intended to be used with the Online-Child-Theme. Usage of the existing Online-Theme has been deprecated.
Note that compiled, minified css and js files are included within the repo. Changes to these files should be tracked via git (so that users installing the plugin using traditional installation methods will have a working plugin out-of-the-box.)
Enabling debug mode in your wp-config.php file is recommended during development to help catch warnings and bugs.
- node
- gulp-cli
-
Clone the Online-Utilities repo into your local development environment, within your WordPress installation's
plugins/directory:git clone https://github.com/UCF/Online-Utilities.git -
cdinto the new Online-Utilities directory, and runnpm installto install required packages for development intonode_modules/within the repo -
Optional: If you'd like to enable BrowserSync for local development, or make other changes to this project's default gulp configuration, copy
gulp-config.template.json, make any desired changes, and save asgulp-config.json.To enable BrowserSync, set
synctotrueand assignsyncTargetthe base URL of a site on your local WordPress instance that will use this plugin, such ashttp://localhost/wordpress/my-site/. YoursyncTargetvalue will vary depending on your local host setup.The full list of modifiable config values can be viewed in
gulpfile.js(seeconfigvariable). -
Run
gulp defaultto process front-end assets. -
If you haven't already done so, create a new WordPress site on your development environment to test this plugin against, and install and activate all plugin dependencies.
-
Activate this plugin on your development WordPress site.
-
Configure plugin settings from the WordPress Customizer.
-
Run
gulp watchto continuously watch changes to scss and js files. If you enabled BrowserSync ingulp-config.json, it will also reload your browser when plugin files change.
- This plugin's README.md file is automatically generated. Please only make modifications to the README.txt file, and make sure the
gulp readmecommand has been run before committing README changes. See the contributing guidelines for more information.
Want to submit a bug report or feature request? Check out our contributing guidelines for more information. We'd love to hear from you!