This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/uuid_node/uuid_node.module | |
+++ b/uuid_node/uuid_node.module | |
@@ -10,7 +10,7 @@ function uuid_node_node_presave($node) { | |
$node->uuid = uuid_uuid(); | |
} | |
- if (1 == $node->revision) { | |
+ if (isset($node->revision) && 1 == $node->revision) { | |
$node->vuuid = uuid_uuid(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd s3cmd-1.0.1 | |
python setup.py install | |
s3cmd --configure # to install the key and bucket info | |
You'll be prompted for Amazon account ID and secret key. You can | |
get this by logging in to your Amazon account and visiting the | |
connection-info screen, or from your secure credentials if you | |
have them. | |
You'll also be asked for a key to use for encrypting S3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; ;; | |
;; Makefile for Search Guvannuh ;; | |
;; ;; | |
;; Builds Drupal core and contrib modules, with patches. ;; | |
;; ;; | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; Core version | |
; --------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerAdmin webmaster@localhost | |
DocumentRoot /home/travis/build/nickveenhof/drupal | |
<Directory /> | |
Options FollowSymLinks | |
AllowOverride All | |
</Directory> | |
<Directory /home/travis/build/nickveenhof/drupal/ > | |
Options Indexes FollowSymLinks MultiViews |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PHPENV Setup | |
<IfModule alias_module> | |
ScriptAlias /phpenv "/home/travis/.phpenv/shims" | |
<Directory "/home/travis/.phpenv/shims"> | |
Order allow,deny | |
Allow from all | |
Require all granted | |
</Directory> | |
</IfModule> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerAdmin webmaster@localhost | |
DocumentRoot PATH | |
<Directory /> | |
Options Indexes FollowSymLinks Includes ExecCGI | |
AllowOverride All | |
</Directory> | |
<Directory PATH > | |
Options Indexes FollowSymLinks Includes ExecCGI |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
# [...] | |
DocumentRoot PATH | |
<Directory "PATH"> | |
Options FollowSymLinks MultiViews ExecCGI | |
AllowOverride All | |
Order deny,allow | |
Allow from all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"AWSTemplateFormatVersion":"2010-09-09", | |
"Description":"AWS CloudFormation Sample Template for HA Drupal in Multi AZ Deployments. ", | |
"Parameters":{ | |
"KeyName":{ | |
"Description":"EC2 KeyPair to enable SSH access to the instances", | |
"Default":"drupaljam", | |
"Type":"String", | |
"MinLength":"1", | |
"MaxLength":"255", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Implementation of hook_form_FORM_ID_alter(). | |
* | |
* @param $form | |
* @param $form_state | |
*/ | |
function searchtraining_location_form_apachesolr_search_custom_page_search_form_alter(&$form, $form_state) { | |
// Get the element so we can tell autocomplete it needs to alter that so it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config/schema/search_api.index.schema.yml b/config/schema/search_api.index.schema.yml | |
index 96a0abb..7cbced6 100644 | |
--- a/config/schema/search_api.index.schema.yml | |
+++ b/config/schema/search_api.index.schema.yml | |
@@ -34,6 +34,9 @@ search_api.index.*: | |
boost: | |
type: float | |
label: 'Boost' | |
+ faceted: | |
+ type: boolean |
OlderNewer