Skip to content

Instantly share code, notes, and snippets.

drush vset install_profile minimal
Enter a number to choose which variable to set.
[0] : Cancel
[1] : install_profile
1
install_profile was set to minimal [success]
o1@server2:~/static/theweeklydrop.com-2012-03-03-2038/sites/theweeklydrop.com$ drush vget
install_profile
install_profile: "default"
<?php
/**
* Implements hook_install().
*
* Perform actions to set up the site for this profile.
*/
function btsa_profile_install() {
$themes['theme_default'] = variable_get('btsa_theme_default', 'bartik');
$themes['admin_theme'] = variable_get('btsa_admin_theme', 'seven');
@kepford
kepford / seminary.fresno.edu.conf
Created April 2, 2012 18:30
Apache Vhost for seminary.fresno.edu
<VirtualHost *:80 *:443>
ServerAdmin webmaster@localhost
ServerName seminary.fresno.edu
ServerAlias www.seminary.fresno.edu
ServerAlias seminary.fpu.edu
ServerAlias www.seminary.fpu.edu
RewriteEngine On
# ----------------------------------------------------------------------------------------- #
# ---------- Make sure that the user is using SSL for sensitive areas --------------------- #
drush site-install my_profile --site-name=mysite --account-name=admin --account-pass=admin --db-url=mysql://root:root@localhost/mysitedb --y --v
WD system: state_machine module enabled. [info]
WD ctools: Plugin state_flow of plugin type state_flow:plugins points to nonexistent file [notice]
profiles/my_profile/modules/contrib/state_machine/modules/state_flow/StateFlow.class.php for class handler handler.
WD system: state_flow module installed. [info]
WD system: state_flow module enabled. [info]
WD ctools: Plugin state_flow of pl
function fpu_secret_page_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) {
switch ($op) {
case 'view':
if ($node->nid == 2) {
if (!user_is_logged_in()) {
if ((!isset($_GET["ident"]) || $_GET["ident"] !== "c0lk3y") || (!isset($_GET["auth"]) || $_GET["auth"] != "k3rb3r0ssyph0n")) {
drupal_access_denied();
}
}
}
@kepford
kepford / postmark-php-postmark-location.patch
Created September 2, 2012 02:06
Move location of postmark-php lib
diff --git a/README.txt b/README.txt
index 7f79661..1bd1203 100644
--- a/README.txt
+++ b/README.txt
@@ -1,8 +1,8 @@
Module description
------------------
-The Postmark module allows the administrator to switch the standard SMTP
-library over to use the third party Postmark library. An account with
From 8d5fe55311b7fb3e36f346102c0fbdc80f42b509 Mon Sep 17 00:00:00 2001
From: kepford <bob@bobkepford.com>
Date: Sat, 1 Sep 2012 19:57:45 -0700
Subject: [PATCH] Added the postmark-php path to this module
---
README.txt | 24 ++++++++++++------------
postmark.info | 2 +-
postmark.mail.inc | 4 ++--
3 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/panopoly_admin.make b/panopoly_admin.make
index e5476d3..452be0e 100644
--- a/panopoly_admin.make
+++ b/panopoly_admin.make
@@ -39,4 +39,4 @@ projects[jquery_update][version] = 2.x
projects[jquery_update][subdir] = contrib
projects[jquery_update][download][type] = git
projects[jquery_update][download][revision] = baff5d1
-projects[jquery_update][download][branch] = 7.x-2.x
+; projects[jquery_update][download][branch] = 7.x-2.x
@kepford
kepford / drush-4-branches-commented-out-panopoly-core.patch
Created February 7, 2013 00:05
drush-4-branches-commented-out-panopoly-core
diff --git a/panopoly_core.make b/panopoly_core.make
index 2c1b0b7..3cc53af 100644
--- a/panopoly_core.make
+++ b/panopoly_core.make
@@ -9,32 +9,32 @@ projects[ctools][version] = 1.x-dev
projects[ctools][subdir] = contrib
projects[ctools][download][type] = git
projects[ctools][download][revision] = b8671ef
-projects[ctools][download][branch] = 7.x-1.x
+;projects[ctools][download][branch] = 7.x-1.x
@kepford
kepford / drush-4-branches-commented-out-panopoly-theme.patch
Created February 7, 2013 00:09
drush-4-branches-commented-out-panopoly-theme.patch
diff --git a/panopoly_theme.make b/panopoly_theme.make
index cb888a2..fd487c2 100644
--- a/panopoly_theme.make
+++ b/panopoly_theme.make
@@ -17,7 +17,7 @@ projects[responsive_bartik][version] = 1.x-dev
projects[responsive_bartik][type] = theme
projects[responsive_bartik][download][type] = git
projects[responsive_bartik][download][revision] = 7853fee
-projects[responsive_bartik][download][branch] = 7.x-1.x
+; projects[responsive_bartik][download][branch] = 7.x-1.x