Random
-
Jellyfish Frequency
Record Label Website
Work
Template Coding
Information Structuring
Stylesheet Coding
Drupal
2012
-
Aaron Metals
...
Graphic Design
2003
-
Reading/setting Drupal config variables
<?php
function organic_context_config_page(){
$form = array();
$form['onthisdate_maxdisp'] = array(
'#type' => 'textfield',
'#title' => t('Maximum number of links'),
'#default_value' => variable_get('onthisdate_maxdisp', 3),
'#size' => 2,
'#maxlength' =&...
Code
Drupal
2014
-
Lotto-rithm
Algorithm knowledge promotion
Work
Graphic Design
2016
-
Post referencing setup
Assign multiple disciplines to a project
<?php
// Adds custom post type for Projects and Services
function create_post_type(){
register_post_type('project',
array(
'labels' => array(
'name' => __('Projects'),
'singular_name' => __('Project')
),
'taxonomies' => array('category'),
'public...
Code
Wordpress
2016
-
In the Weeds
Restaurant Management Tool
Stylesheet Coding
JavaScript
Work
2016
-
LiamShy
musician listenable song portfolio, DJ events and photo gallery
DrupalViews, UI/X Design & Image Slicing...
Work
Information Structuring
Template Coding
Stylesheet Coding
Template Coding
Graphic Design
Drupal
2009
-
Orgnsm (ROOT)
Community Outreach Divisions Catalog
Work
Information Structuring
Stylesheet Coding
JavaScript
Graphic Design
2016
-
Organic Planner
Private Notes & Organizational Tools
...
Work
Template Coding
Information Structuring
Stylesheet Coding
Drupal
Organic Connectivity Module
Graphic Design
2010
-
N.i. Portfolio
Website Work Portfolio & Team Biographies
Layout & Typography, Request Handler & Site Template ((This is an "HTML Version" of their main Flash site - the PHP template uses the same XML data as the Flash site)), XML...
Work
Stylesheet Coding
Template Coding
Information Structuring
Google
2011
-
Ouroboros
Inspirational Imagery Archive
Work
Information Structuring
Stylesheet Coding
Template Coding
Drupal
Organic Connectivity Module
Graphic Design
2010
-
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
-
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
-
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
-
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
-
Breze
Singer / Songwriter Promotional Mini-Site
Work
Stylesheet Coding
Graphic Design
Template Coding
2004
-
AG & Associates
Construction Portfolio & Promotion
Work
Wordpress
Stylesheet Coding
PHP
2016
-
PaulBird.tv
Mixed Martial Arts Fighter Information & Media
Layout & Typography, DrupalNodes, DrupalBlocks, UI Design/Background Art, DrupalViews Templates, YouTube Embedding...
Work
Stylesheet Coding
Information Structuring
Graphic Design
Template Coding
JavaScript
Drupal
2011
-
N.i. Extranet
[Internal + Client] Project Planning Platform
clients.native-instinct.com...
Work
Stylesheet Coding
Information Structuring
Template Coding
Drupal
2010
-
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
-
Fill array with server request URI strings
<?php
$request = explode( "/", $_SERVER["REQUEST_URI"] );
array_shift( $request );
print_r( $requests );
?>...
Code
Template Coding
PHP
2013
-
Rate Your Customer / Rate My Contractor
Work
Wordpress
Stylesheet Coding
PHP
2015
-
Similar by Taxonomy
<ul class="item-list">
<?php
$terms_nood = taxonomy_node_get_terms_by_vocabulary($node,6);
$terms = taxonomy_get_tree(6);
foreach($terms as $term){
//$tagged = taxonomy_term_count_nodes($term->tid);
if( $term->name == arg(1) || array_key_exists( $term->tid,$terms_nood ) ){
echo("<li...
Code
Drupal
Template Coding
2014
-
Nested-query approach to mining field_collection data and relationship
<?php
function get_species_country($id_country) {
$inner = new EntityFieldQuery();
$inner_r = $inner->entityCondition('entity_type', 'field_collection_item')
->fieldCondition('field_species_country', 'target_id', $id_country, '=')
->execute();
if(!emp...
Code
Template Coding
Drupal
2014
-
Tru frame
Product promotion
Work
Graphic Design
2016