Skip to content

Instantly share code, notes, and snippets.

@suzannealdrich
suzannealdrich / hosts
Created April 4, 2014 17:54
Local Drupal Development
127.0.0.1 super-mega-power.local
@suzannealdrich
suzannealdrich / INSTALL.txt
Created March 24, 2014 22:54
Drupal WYSIWYG
A viable WYSIWYG+CKEditor+Media combination that allows for embedded image management during node editing.
Consult each module's INSTALL.txt for complete instructions:
Wysiwyg 7.x-2.2+33-dev
https://drupal.org/project/wysiwyg
CKEditor Version 4.3.3 (Full)
http://ckeditor.com/download
Media 7.x-2.0-alpha3+77-dev
@suzannealdrich
suzannealdrich / settings.php
Last active June 28, 2017 22:27
Pantheon site environment base URL logic
if (isset($_SERVER['PANTHEON_ENVIRONMENT'])) {
switch ($_SERVER['PANTHEON_ENVIRONMENT']) {
case 'test':
$base_url = 'http://test-example.gotpantheon.com'; // NO trailing slash!
break;
case 'dev':
$base_url = 'http://dev-example.gotpantheon.com'; // NO trailing slash!
break;
case 'live':
$base_url = 'http://www.example.com'; // NO trailing slash!
@suzannealdrich
suzannealdrich / evanisko.info
Created June 13, 2012 23:00
Evanisko Custom Drupal Module
; $Id$
name = Evanisko
description = Provides custom functionality for this site
core = 6.x
version = "6.x-1.x"
project = "evanisko"
package = Other