Edit
-
La Picolla Scolla Italia
Italian Preschool Information
Layout & Typography, Semantic XHTML content structuring, Site Template & Request Handler, Flash & GoogleMaps Embedding...
Stylesheet Coding
Information Structuring
Template Coding
JavaScript
Work
2013
-
Incubator
Artwork Project Archive
Typography & Layout, Content Structuring, UI/X Design, Interactivity & Sorting...
Work
Stylesheet Coding
Information Structuring
Graphic Design
Template Coding
JavaScript
Drupal
Organic Connectivity Module
2013
-
RosaPharma
Pharmaceutical Development Services Information
Layout, Typography & Navigation, Semantic XHTML, Site Template & Request Handler [custom built with PHP], drop-down navigation...
Stylesheet Coding
Information Structuring
Template Coding
JavaScript
Work
2010
-
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
-
BossaNova Robotics
Robot Toy Product Promotion
Site Request Handler, Framework for loading XML content from Flash nav click. Flash, GoogleMaps and YouTube Embedding....
Stylesheet Coding
Template Coding
JavaScript
Work
2011
-
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
-
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
-
N.i. Extranet
[Internal + Client] Project Planning Platform
clients.native-instinct.com...
Work
Stylesheet Coding
Information Structuring
Template Coding
Drupal
2010
-
Business Researchers
Business Strategy Services Information
Layout & Typography, Site Template & Request Handler, Animated Dropdown Menus, Google Maps Embed, Flash Embed
See also: businessresearchers.com...
Work
Stylesheet Coding
Template Coding
JavaScript
2010
-
NeuroGenesix
Dance Music Event Information
...
Work
Information Structuring
Stylesheet Coding
Graphic Design
Template Coding
2015
-
Kimochis Portal
Forum for Users of Educational Toys
Work
Stylesheet Coding
Information Structuring
Template Coding
Drupal
2011
-
Breze
Singer / Songwriter Promotional Mini-Site
Work
Stylesheet Coding
Graphic Design
Template Coding
2004
-
Radiesse
Dermal Product Information for Doctors & Patients
Helped with overall framework
built main XHTML+template
constructed the map section and before and after section
View this Site
radiesse.com
...
Work
Information Structuring
Stylesheet Coding
JavaScript
Template Coding
2010
-
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
-
Covidien Portal
A resource and tool for physicians
Template Coding
Stylesheet Coding
Information Structuring
JavaScript
Work
Drupal
2016
-
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
-
Triple Goddess
Collective / Events Microsite
Work
Information Structuring
Template Coding
Stylesheet Coding
Drupal
Graphic Design
2009
-
Organic Planner
Private Notes & Organizational Tools
...
Work
Template Coding
Information Structuring
Stylesheet Coding
Drupal
Organic Connectivity Module
Graphic Design
2010
-
Jellyfish Frequency
Record Label Website
Work
Template Coding
Information Structuring
Stylesheet Coding
Drupal
2012
-
Luscious Hawaiian
Natural Island Food Products
Graphic Design
Template Coding
Stylesheet Coding
Work
2011
-
777
Dimensionality Study Tool
Work
Information Structuring
Template Coding
Stylesheet Coding
Drupal
Organic Connectivity Module
Graphic Design
2011
-
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
-
Visionary Sports Group
Athlete Management
Work
Information Structuring
Template Coding
Stylesheet Coding
Drupal
2011
-
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
-
Pagination Logic
<?php
$items = array(
0 => array( "item 1", "2013-09-13", "1" ),
1 => array( "item 2", "2013-09-14", "2" ),
2 => array( "item 3", "2013-09-15", "3" ),
);
######## CALCULATIONS #########
# set per-page var
if (isset($_GET["perpage"])) $perpage = $_GET["perpage"];
else $perpage = 10;
# calc ...
Code
Template Coding
PHP
2013
-
TiedyeJohn
Tiedye Artist Examples and Ordering
Stylesheet Coding
Template Coding
JavaScript
Information Structuring
Work
Drupal
Graphic Design
2011
-
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
-
Login redirect
<?php
function HOOK_user_login_submit( $form, &$form_state ){
$form_state["redirect"] = "";
}
function HOOK_form_user_login_alter( &$form, $form_state ){
$form["#submit"][] = "HOOK_user_login_submit";
}
?>...
Code
Template Coding
Drupal
2013
-
Insert email as username at registration
<?php
function HOOK_user_insert( &$edit, &$account, $category = NULL ){
// Don't create a new username if one is already set
if( strpos($account->name, 'temporary_') !== 0)
return;
// Otherwise, replace username with email address field
db_update("users")
->fields(array(...
Code
Template Coding
Drupal
2013
-
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
-
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
-
Add unique IDs to menu items
<?php
function HOOK_menu_link( array $variables ){
$element = $variables['element'];
$sub_menu = '';
$name_id = strtolower(strip_tags($element['#title']));
// remove colons and anything past colons
if (strpos($name_id, ':')) $name_id = substr ($name_id, 0, strpos($name_id, ':'));
//Pr...
Code
Template Coding
Drupal
2013
-
Render imagecache images
echo( "<img src=\"".image_style_url("thumbnail", $photo["uri"] )."\" alt=\"\"/>" );...
Code
Template Coding
Drupal
2013
-
Fill array with server request URI strings
<?php
$request = explode( "/", $_SERVER["REQUEST_URI"] );
array_shift( $request );
print_r( $requests );
?>...
Code
Template Coding
PHP
2013
-
Create custom content type
contenttypetest.info
name = Contenttype test
description = Test - how can I create a new content type with hook form?
core = 7.x
files[] = contenttypetest.module;
files[] = contenttypetest.install;
contenttypetest.module
<?php
// hook_form implementation
function contenttypetest_form($node, &$f...
Code
Template Coding
Drupal
2013
-
LDAP Connect and Bind Test
<?php
$host = "127.0.0.1:10389";
$ldap = ldap_connect($host);
ldap_set_option($ldap, LDAP_OPT_PROTOCOL_VERSION, 3);
$username = "uid=admin,ou=system";
$password = "secret";
if( $bind = ldap_bind($ldap, $username, $password) )
echo( "logged into ".$host." as ".$username );
else
echo( "Fa...
Code
Template Coding
PHP
2013
-
Output a menu
<?php
$page_menu_items = menu_tree_output(menu_tree_all_data("main-menu"));
echo( drupal_render($page_menu_items) );
?>...
Code
Template Coding
Drupal
2013
-
Various WP snippets
Show Links Menu w/Active Class
<nav>
<?php $args=array(
'sort_order' => 'ASC',
'sort_column' => 'post_date',
'hierarchical' => 1,
'exclude' => '',
'include' => '',
'meta_key' => '',
'meta_value' => '',
'authors' => '',
'child_of' => 0,
'parent' => -1,
'exclude_t...
Code
Template Coding
Wordpress
2013
-
Trauma Informed Care
Information & Blog
Stylesheet Coding
Template Coding
Work
Wordpress
2013
-
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
-
PHP
Frameworks
Topics
Template Coding
2014
12
-
Ouroboros
Inspirational Imagery Archive
Work
Information Structuring
Stylesheet Coding
Template Coding
Drupal
Organic Connectivity Module
Graphic Design
2010
-
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
-
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
-
Organic Connectivity Module
Topics
Frameworks
Template Coding
Drupal
2014
6