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 | |
/** | |
* d6to7_cck_textfield_length_checker.php, a script to find Drupal 6 | |
* CCK text fields that are longer than 255 characters. | |
* | |
* Written by Mark Jordan, [email protected] and released into the | |
* public domain. | |
* | |
* Upgrading to Drupal 7 from Drupal 6 instances that use CCK can |
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
Steps to implement (pseudo) Single Sign-On (SSO) for any set of sub-sites on BOA: | |
1. Add domains and even wildcard *.sub.domains as aliases to your site in Aegir | |
2. Install and configure Domain Access -- https://drupal.org/project/domain | |
3. Set 'server_name_cookie_domain = TRUE' in the modules/boa_site_control.ini file | |
Done! | |
How it works? |
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
#!/usr/bin/env bash | |
# Usage: dice makefile docroot dbuser dbpass dbname sitename install-profile | |
drupal_install_clean_env() { | |
if [[ -r $2 ]]; then | |
sudo rm -r $2 | |
cd ~/ | |
fi | |
if [[ -r $1 ]]; then | |
drush make --working-copy --concurrency=5 $1 $2 |
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
@mixin pager($radius: 2px, $background_1: #F8F8F8, $background_2: #ECECEC, $border: #c6c6c6, $font-color: #999) { | |
// Pager list-style | |
li { | |
margin-right: 5px; | |
padding: 0; | |
&.last { | |
margin-right: 0; | |
} |
NewerOlder