Random
- Webcam Image Refresher HTML <img src="http://orgnsm.org/camoff.jpg" alt="Webcam" id="webcamImage"/></div> JavaScript function refreshCam(id, file) { var today = new Date(); var h = today.getHours(); var m = today.getMinutes(); var s = today.getSeconds(); document.getElementById(id).src = file + "?time="+h+m+s; setTime... JavaScript Code 2013
- MySQL Basics add export PATH=$PATH:/usr/local/mysql/bin to ~/.bash_profile or /etc/profile Backup database to text file mysqldump database_name > database_name.sql Remove database mysql> drop database database_name; Create database mysql> CREATE DATABASE database_name;... Code 2014
- Show field when a different selection is made on the same form function HOOK_form_alter( &$form, &$form_state, $form_id ){ if( $form_id == "user_register_form" || $form_id == "user_profile_form" ) { // Shows OTHER text field when 'Other' is selected as their specialty $form["field_specialty_other"]["#states"] = array( "visible" => arr... Code JavaScript Template Coding Drupal 2013
- Medical Industries America, Inc. Respiratory Homecare Product Promotion Photoshop, XHTML, CSS, JavaScript. 2001.... Work Graphic Design 2001
- AJAX Remote Read, Local Write w/JavaScript //the callback function run after loading JSONp below function test_results_loaded(data){ //post data to a service via ajax var xhr = new XMLHttpRequest(); xhr.open("POST", "https://orgnsm@orgnsm.org:lkAGWUE01H@orgnsm.testrail.com//index.php?/api/v2/add_result/1", true); xhr.setRequestHeader('Cont... Code JavaScript JQuery 2013
- Read and Process RSS <?php function getRSS( $url ){ $cobj = curl_init( $url ); curl_setopt( $cobj, CURLOPT_RETURNTRANSFER, 1 ); curl_setopt( $cobj, CURLOPT_CONNECTTIMEOUT, 0 );//0 = no timeout $tumblr_raw = curl_exec( $cobj ); curl_close( $cobj ); if( $tumblr_raw ){ $tumblr_xml = new DOMDocument(); $tumblr_xml->lo... Code Template Coding 2013
- Rename stuck field names <?php $fields = array( 'field_inspirational_imagery' => 'field_images', ); // Loop through each of the fields/tables with the old name and change them foreach($fields as $field_name => $new_field_name) { // First check that field_name exists if(!db_table_exists('field_data_' . $field_name... Code Drupal PHP 2014
- Ferber Law Lawyer Firm Promotional Work Wordpress Stylesheet Coding 2016
- Device-Responsive Layout HTML <meta name="viewport" content="width=device-width, initial-scale=1.0;"/> CSS @media (max-width: 480px){ } @media (max-width: 767px){ #container{ padding: 0 25px; } nav ul li a{ font-size: 100%; padding: 15px 0; border-radius: 30px; } nav ul li ... Stylesheet Coding Code 2013
- Cytel built and styled the contact form (with connectivity to SalesForce) embedded customized Google maps... Work Stylesheet Coding Google 2009
- Migrates multigroups in D6 to field collections in D7 <?php /////////////////// PAGE DEFINITIONS /////////////////// function migrate_groups_menu(){ $menu["migrate_groups"] = array( "title" => "Migrate grps", "description" => "....", "page callback" => "migrate_multigroup_to_collections", "access callback" => TRUE... Code Drupal 2014
- Sightspeed - Corporate Product promotion, support, and informational site php-driven site request handler shell, standards-based layout ... Work Information Structuring Template Coding Stylesheet Coding 2005
- Organic Interfaces Portfolio Website Work Information Structuring Template Coding Stylesheet Coding Graphic Design Drupal Organic Connectivity Module 2011
- Amniot Personal Journal / Progression Log / Public life document site / Homepage Work Information Structuring Template Coding Stylesheet Coding Organic Connectivity Module Graphic Design 2010
- Rate Your Customer / Rate My Contractor Work Wordpress Stylesheet Coding PHP 2015
- Drupal DB Query to find Children (Recursively) <?php function loadchildrens($context){ $sql_children = "SELECT node.nid AS nid, node.vid AS node_vid, node.title AS node_title FROM node node LEFT JOIN content_field_connection node_data_field_connection ON node.vid = node_data_field_connection.vid WHERE (node.type in ('category')) AND (node_data_field... Code Drupal PHP Template Coding 2014
- Orgnsm (ROOT) Community Outreach Divisions Catalog Work Information Structuring Stylesheet Coding JavaScript Graphic Design 2016
- OSX Virtual Web Host Config add line to /etc/hosts 127.0.0.1 amniot.localhost add lines to /etc/apache2/httpd.conf NameVirtualHost 127.0.0.1:80 <VirtualHost amniot.localhost:80> <Directory "/Library/Webserver/Documents_AMNIOT"> Options FollowSymLinks Indexes AllowOverride All Order deny,allow allow from All ... Code Macintosh 2014
- IAS Data Management Services Promotion Salesforce Form Submission Connectivity, AJaX Content Filtering, Flash Video Embedding... Stylesheet Coding Information Structuring Template Coding JavaScript Work Drupal 2011
- In the Weeds Restaurant Management Tool Stylesheet Coding JavaScript Work 2016
- Oakland Police Charity Information & Donation Work Wordpress Stylesheet Coding 2016
- Obtain matching entities function obtain_entities_by_type($entity_type,$bundle,$limit=10,$offset=0,$subject_nid=FALSE){ $query=new EntityFieldQuery(); $query->entityCondition('entity_type', $entity_type) ->entityCondition('bundle', $bundle) ->propertyCondition('status', 1) ->range($offset, $limit... Code Template Coding Drupal 2013
- Render imagecache images echo( "<img src=\"".image_style_url("thumbnail", $photo["uri"] )."\" alt=\"\"/>" );... Code Template Coding Drupal 2013
- AG & Associates Construction Portfolio & Promotion Work Wordpress Stylesheet Coding PHP 2016
- Make Drupal Module Most Important So other modules don't supersede your module, run this code once. <?php db_query("UPDATE {system} SET weight = 100 WHERE name = 'MODULE_NAME'"); ?>... Code Template Coding Drupal 2013