My Recent Pastes (61 and counting)

Pastes by Joon Park (61 and counting)

Pages: 1 3 4 5

Below are the 15 most recent pasties by Joon Park.

November 01, 2009
2:11AM EDT
by Joon Park

/* `Containers -------------------------------------------------------------*/

.container-12 {
  width:  960px;
  margin-left: auto;

November 01, 2009
2:10AM EDT
by Joon Park

@variables {
  W: 960px; // Container Width
  C: 12;    // Column Count
  G: 20px;  // Gutter Width
}

September 10, 2009
3:35PM EDT
by Joon Park

9/10/09 3:32:59 PM
Espresso
Warning
*** Error trying to load XML at file://localhost/Applications/Espresso.app/Contents/SharedSupport/Sugars/PHP.sugar/TextActions/Sorting.xml: Error Domain=NSURLErrorDomain Code=-1014 UserInfo=0x775f70 "zero byte resource"

August 31, 2009
9:41PM EDT
by Joon Park

<?php

/**
 * Using array_merge() to reorder variables keys.
 */

August 23, 2009
9:28PM EDT
by Joon Park

<?php

/**
 * Theming a common wrapper to supply html attributes without modifying templates.
 *

August 23, 2009
9:11PM EDT
by Joon Park

<?php

/**
 * Theming a common wrapper to supply html attributes without modifying templates.
 */

August 11, 2009
4:07PM EDT
by Joon Park

<?php

/**
 * Binding references from variables to deep array and object structures.
 * 

October 25, 2007
12:02PM EDT
by Joon Park

<?php
function phptemplate_node_form($form) {

  //This places each element of the form as a variable inside the template file.
  foreach (element_children($form) as $element) {

October 25, 2007
12:00AM EDT
by Joon Park

/**
 * Intercept template variables.
 *
 * This mimics how themes work in Drupal 6. Instead of using switch cases,
 * separated functions are called to alter the variables per hook. This is

October 24, 2007
11:50PM EDT
by Joon Park

<?php

function _phptemplate_variables($hook, $vars = array()) { 
  if ($hook == 'node') {
      $vars['template_files][] = 'node-'. $vars['node']->nid;

October 18, 2007
7:52PM EDT
by Joon Park

--- untitled
+++ (clipboard)
@@ -2,11 +2,5 @@
                       width="320" 
                       height="240"

October 17, 2007
4:34PM EDT
by Joon Park

<?php

function _phptemplate_variables($hook, $vars = array()) { 
  if ($hook == 'node') {
    if ($vars['teaser']) {

October 13, 2007
12:35PM EDT
by Joon Park

http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/themes/abac/screenshot-drupal.org.jpg
http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/themes/aberdeen/screenshot-drupal.org.png
http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/themes/activesigns/screenshot-drupal.org.jpg
http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/themes/adc/screenshot-drupal.org.png
http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/themes/amadou/screenshot-drupal.org.png

October 11, 2007
7:36PM EDT
by Joon Park

<?php
/**
 * Search box form override.
 */
function phptemplate_search_theme_form($form) {

October 11, 2007
9:56AM EDT
by Joon Park

<?php

/**
 * To force a section for debugging, set it here! NULL to disable.
 */

Next page