Got the schema working from the install file. Skincancer_admin table now in database
Added install file with schema required to build staff/derma table for skin cancer admin section
Update to Devel module
Started creating custom view files and parameters for skincancer module but ran into roadblock. Method Ive been using requires extra fields be inserted in entityform table which I dont want. Going to try views_field_views to embed a view within another view
Installed views_field_view allowing one view to be embedded within another. Hoping that will help solve the layout and multiple table query issues in Skin Caner admin area
Added views_field_view to skincancer module .info dependency list
Security update to ctools
Created custom data table view for Skin Cancer stuff, trying to find a way to integrate with Entityform submissions. Also need to find a way to display staff and derma forms if no admin data in table
Tried several methods to attempt adding admin forms to view, finally on a better trajectory. Need to further modify skincancer_admin_handler file to provide options to select which kind of form to display: staff or derma. Also need to add several methods and a separate file that generates either the form or the results.
Started adding function within skincancer_admin_handler that will build either a staff or derma form
Successfully enabled staff/derma form options and output corresponding forms as view fields in view table. Also captured entityform id and whether it is a staff/derma form. Next step is loading data into database via ajax in js script.
Successfully retrieving submitted values in admin form, now trying to pass to php script through ajax. For some reason neither post nor get is capturing values.
Realized I was an idiot and the AJAX data passing was working fine! Next step: database.
Data passed from admin forms through AJAX successfully being stored in database! Next step is to discern if data needs to be added or updated.
php script now able to discern whether to insert a new row in db or update an existing one
Minor updates to skincancer.php
Able to query, capture db data from handler file. Next step is to dynamically generate view with either data or blank admin form
Able to adjust admin page output based on data in database and role
Starting construction of new admin builder class as helper tool
Admin layout of cells managed by new adminOutputBuilder class. This class assists skincancer_admin_handler by dynamicallly displaying empty form or data-filled container based on values passed to adminOutputBuilders constructor