Moving CEPTools
These are some of the major areas to consider in moving this site – this covers theme/page builder, other plugins, custom built WordPress page and custom PHP Scripts. All files are stored in the Google shared directory.
Pages Built Using Beaver Builder
Used to create column layout on these pages:
- Landing/Home page – this page has a login widget that is shown if the user is not logged in and an button to link to the sign up page to create an account if they do not have one.
- Upload Data
- Create Data Set
- Financial Tools Calculator Landing Page just a landing page to the Excel version of these three calculators – Break-Even, District and School Level.
Gravity Forms & Gravity Views
Will need to keep at least initially. Used to do forms and views. Mettler Solutions will provide zip file and license key for first year. We can export and import these forms and all associated Views using Gravity Kit Migrate. Used on these pages:
- Break-Even Calculator – this is a multiple 7 step form used to gather inputs for the Break Even Calculator. When completed – it calls the ViewBreakEven.php file which is described below.
- Sign Up: allows the user to creates a new signup – uses a Gravity Forms Add On called User Registration to create a WordPress account for the new users.
- Contact Us – assume you will not need this anymore.
Access to these tools – I uploaded both of the zips to Google. Once you have the main plugins installed you can add add-ons. License Keys:
- Gravity Form: cfaf38a0d1306fa9a1385e3e340dd22a
- Gravity Views (Kit): 1a6d428c0e1f572a00fb19c3fd6c2564
Custom Built WordPress Pages
Custom built pages have to reside in the folder of the theme that you use. For the current CEP Tool this is the wp-content/themes/bb-theme-child/ folder. Custom built PHP pages include:
- Grouping Tool:
- View Uploads – shows summary of all file uploads for the user. File is UploadTable.php
- Run Table – shows all Runs for the selected file upload. File is ViewRunTable.php
- Data Sets for Run # – shows all data sets for the selected Run – accessed via the Run Table. File is ViewSets.php
- Data Groups & Schools for Set # – shows the various groupings for a selected Set from the Data Set for Run table. File is ViewGroupsSchools.php.
- Upload Table Admin – allows the administrators to see all uploads. File is UploadTableAdmin.php
- View All Runs – allows administrators to see all data sets that were created by all users for testing/trouble shooting purposes. ViewAllRuns.php
- Update Fed Rates – allows you to update via a form. File is UpdateFedRates.php
- Break Even Calculator
- Break-Even Results – this shows the result of the breakeven calculator – file is ViewBreakEven.php
- Break Even Calculator summary page – for your account show it for the school, ISP Group and District levels if run. File is BreakEvenCalculator.php.
- District Level Calculator pages – DistrictCalculator.php, UpdateRevenue.php, UpdateEnroll.php, UpdateParticipation.php, UpdateFoodMatsExpense.php, UpdateAdminLabor.php, UpdateDirectLabor.php, UpdateOtherExpenses.php, ProfitLossForm.php
Custom Code
Custom code that is not associated with a single page but used to support the pages above. Code is located in two places – in the wp-content/themes/bb-theme-child/ folder and the scripts folder off the root.
Code needs to be:
- moved
- checked for absolute path references – especially this one: include(“/home/ecupiieo/public_html/fr/scripts/functions.php”); This does exist and is currently necessary.
- Check for any references to “https://fraccep.org” – I did convert most of those to relative paths but double check.
First, code in the wp-content/themes/bb-theme-child/ folder:
- calcfunctions.php – used in the Break Even calculator
- district_functions.php – use in the District Calculator pages
- functions.php – used in all.
Scripts: these are background scripts used to support the various custom WordPress pages.
User Roles
The CEP Tools site uses a plugin called User Role Editor to control access to certain parts of the website. Do y’all currently have any users or use something? The plugin has been uploaded to the Google Drive. I have a lifetime developers license to this one so you can continue to use as needed.
License Key: 4e1951f97eb2ed986ab829665fc73e0c5a9d79b0da0b1c433736e9d072a859e7
Database
Can’t forget to upload the database! In the Google shared folder it is file – ecupiieo_frac(16).sql.