Paul Booker

Primary tabs

Articles from Paul Booker

Keys

Creating keys

ssh-keygen -t rsa

Uploading your public key to server

ssh-copy-id your-ssh-user@server-ip-address

(function($) {
Drupal.behaviors.recipesForm = {
attach: function (context, settings) {

$(".field-name-field-recipe-quantity input[type=text]").focus(function() {

(function($) {
Drupal.behaviors.recipesForm = {
attach: function (context, settings) {

$(".field-name-field-recipe-quantity input[type=text]").focus(function() {

function mymodule_views_query_alter(&$view, &$query) {

global $user;

if (($view->name === 'coaches') || ($view->name === 'trainers')) {

function mymodule_views_query_alter(&$view, &$query) {

global $user;

if (($view->name === 'coaches') || ($view->name === 'trainers')) {

function mymodule_training_class_node_form_submit($form, &$form_state) {

if ($form_state['input']['field_class_is_finished']['und'] == 1) {
$nid = $form_state['values']['nid'];

function mymodule_training_class_node_form_submit($form, &$form_state) {

if ($form_state['input']['field_class_is_finished']['und'] == 1) {
$nid = $form_state['values']['nid'];

/**
* Implements hook_install().
*/
function artist_install() {
artist_install_vocabularies();
artist_install_terms();
}

Pages