Posts

Showing posts from July, 2017

22.07

Linked SH to config.php moved all the modules into 'includes' folder Created SH-backup file Created another SH file inserted <?php include("includes/well.php"); ?> for each module into SH file. Worked on Equipment and added ADD and DELETE rows. DELETE doesnt work Order script from Freelancer. Found  emregoktogan@gmail.com  https://www.freelancer.com/u/emreg.html Script works fine - adds line, Works for Equipment, Drops, doesnt work for the rest, gives mistake Uploaded ICAM to the SH Added smooth scrolling script to js/javascript.js (// smooth scrolling above)

Injecting another php

php to check if checkbox is checked php to inject certain php file if associated checkbox is checked <?php include("includes/drops.php"); // do your stuff/coding here ?>

modification to Sensei login links

Deyishdim (woothemes-sensei\includes\class-sensei-course.php) 2963: from: $register_link = '<a href="'.$my_courses_url. '">' . __('Register', 'woothemes-sensei') .'</a>'; to: $register_link = '<a href="http://entirelysafe.com/register/">' . __('Register', 'woothemes-sensei') . 2888: from: $anchor_before = '<a href="' . esc_url( sensei_user_login_url() ) . '" >'; to: $anchor_before = '<a href="http://entirelysafe.com/login/" >';

Main Divs

#s10600_incident_details----Incident Details #s69578_well_data----Well Data #s675456_personnel----Personnel #s878_equipment----Equipment #s2956_spill----Spill #s9357_motor_vehicle----Motor Vehicles #s437_drops----Drops #s1035_cost----Cost #s1341_sketch----Sketch #s127895_timeline----Timeline #s13345_findings----Investigation #s143463_ICAM----Root Cause Analysis #s1594346_photos----Photos #s168564_attachments----Attachments

17.07

1-2 js tapdim,  JFiddle qeydiyyatdan kechdim 'Equipment' hissesine '+' bir de 'delete' button elave etdim moved div hiding js to js file - works

Javascripts i need

1. Adds number of the fields as per entered number https://stackoverflow.com/questions/14853779/adding-input-elements-dynamically-to-form  ( http://jsfiddle.net/t656N/1/  ) https://stackoverflow.com/questions/31988183/dynamically-adding-html-form-fields-based-on-a-number-specified-by-the-user  2. Adding field with 'Delete' button https://jsfiddle.net/Caspianexplorer/hqbpwokt/ https://jsfiddle.net/Caspianexplorer/uh05a95x/2/