This file contains 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/video_embed_field.module b/video_embed_field.module | |
index 54491d4..8a45ebb 100755 | |
--- a/video_embed_field.module | |
+++ b/video_embed_field.module | |
@@ -354,7 +354,8 @@ function template_preprocess_video_embed_field_embed_code(&$variables) { | |
// Prepare embed code | |
if ($handler && isset($handler['function']) && function_exists($handler['function'])) { | |
- $variables['embed_code'] = drupal_render(call_user_func($handler['function'], $variables['url'], $variables['style_settings'])); | |
+ $embed_code = call_user_func($handler['function'], $variables['url'], $variables['style_settings']); |
This file contains 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
//---------------------------------------- | |
//------------- CKEDITOR ----------------- | |
//---------------------------------------- | |
/* | |
* alter cklink to add language | |
*/ | |
function YOUR_MODULE_ckeditor_link_autocomplete_alter(&$results, &$string){ | |
if ($string !== '') { | |
$types = ckeditor_link_get_types(); | |
$results = array(); |
This file contains 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_block_info(). | |
*/ | |
function the_aim_custom_block_info() { | |
$blocks = array(); | |
$blocks['back-to-overview'] = array( | |
'info' => t('Back to overview'), |
This file contains 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/video_embed_field.module b/video_embed_field.module | |
index 54491d4..8a45ebb 100755 | |
--- a/video_embed_field.module | |
+++ b/video_embed_field.module | |
@@ -354,7 +354,8 @@ function template_preprocess_video_embed_field_embed_code(&$variables) { | |
// Prepare embed code | |
if ($handler && isset($handler['function']) && function_exists($handler['function'])) { | |
- $variables['embed_code'] = drupal_render(call_user_func($handler['function'], $variables['url'], $variables['style_settings'])); | |
+ $embed_code = call_user_func($handler['function'], $variables['url'], $variables['style_settings']); |
This file contains 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
// OFF-CANVAS TOP REGION | |
#top { | |
background: $grey-light; | |
color: $white; | |
overflow: hidden; | |
> .container { | |
position: relative; | |
overflow: hidden; | |
height: 5em; | |
-webkit-transition: height 0.5s ease-out; |
This file contains 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
//-- FONT SETTINGS -- | |
//------------------- | |
$base-font-size: 13.5px; |
This file contains 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
// references | |
// loop through teasers | |
// add different rel to each li | |
// for colorbox to see each teaser as a separate gallery | |
var count = 0; | |
$('ul.references.overview li').each(function(){ | |
$(this).find('.colorbox a').attr('rel','gallery-'+count); | |
// add class to first list item, to be able to hide all others | |
$(this).find('ul li:first').addClass('show'); | |
count++; |
This file contains 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
img.inserted { | |
width: 50%; | |
float: left; | |
} | |
.left .inserted { | |
float: left; | |
margin: rhythm(0.3) rhythm(0.5) rhythm(0.25) 0; | |
} | |
.right .inserted { |
This file contains 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
width: columns(4,9) + (columns(1,9)/2) + (gutter(9)/2); | |
margin-right: gutter(9); |
NewerOlder