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
<div class="example"> | |
<div class="example-card"> | |
<img class="example-image" src="http://www.jurassicworld.com/media/dinosaurs/dimorphodon/jurassic-world-dimorphodon-share.jpg" alt="" /> | |
<div class="example-text"> Dimorphodon is one of our park’s pterosaurs, or flying reptiles. It evolved to soar through the Jurassic skies, with large eyes, quick jaws and sharp talons perfect for catching fish—or other prey. </div> | |
<div> | |
<a class="example-cta" href="#">Learn More</a> | |
</div> | |
</div> | |
<div class="example-card"> | |
<img class="example-image" src="http://www.jurassicworld.com/media/dinosaurs/velociraptor/jurassic-world-velociraptor-share.jpg" alt="" /> |
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
$view = new view(); | |
$view->name = 'vbo_event_speaker'; | |
$view->description = ''; | |
$view->tag = 'default'; | |
$view->base_table = 'eck_event'; | |
$view->human_name = 'VBO Event Speaker'; | |
$view->core = 7; | |
$view->api_version = '3.0'; | |
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ |
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 | |
// Iterate through all attached field_collections | |
foreach ($node->field_section['und'] as $delta => $value) { | |
$fc_entity_id = $value['value']; | |
// If a background image exists, set it to be the background. | |
if (isset($vars['content']['field_section']['' . $delta .'']['entity']['field_collection_item']['' . $fc_entity_id . '']['field_section_background']['0']['#item'])) { | |
$bg_image = $vars['content']['field_section']['' . $delta .'']['entity']['field_collection_item']['' . $fc_entity_id . '']['field_section_background'][0]['#item']['uri']; | |
$bg_image_path = file_create_url($bg_image); |
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
<div class="two-thirds column"> | |
<h4 class="content-title">Spokane Area Neighborhoods</h4> | |
<div class="content-tabs"> | |
<ul class="tabs-nav clearfix"> | |
<li><a href="#tab1">South Hill</a></li> | |
<li><a href="#tab2">Five Mile</a></li> | |
<li><a href="#tab3">Cheney</a></li> | |
</ul><!--/ .tabs-nav--> | |
<div class="tabs-container"> | |
<div class="tab-content" id="tab1"> |
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
<div class="page"> | |
<header> | |
<h1>Hello I'm The Header</h1> | |
</header> | |
<div class="hero"> | |
<div class="one"> | |
<h2>I'm by myself</h2> | |
</div> | |
<div class="two"> | |
<div><h3>I'm 1</h3></div> |
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
/** | |
* Burger parts | |
* | |
* (---) top -> &:before | |
* [---] middle -> & | |
* (---) bottom -> &:after | |
*/ | |
/** |
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
if (isset($contexts['argument_entity_id:people_1']->data->field_quote)) { | |
$field = $contexts['argument_entity_id:people_1']->data->field_quote; | |
if (is_null($field)) { | |
return FALSE; | |
} | |
if (is_array($field)) { | |
foreach ($field as $key => $val) { | |
if (is_array($val)) { | |
$field[$key] = array_filter($val); | |
} |
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
dpm($contexts['argument_entity_id:people_1']->data->field_quote['und'][0]['value']); |
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
dpm($contexts); |
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
// For theming purposes we want to add a "clear" class every certain number | |
// of items. | |
define('CII_THEME_MEMBERS_LOGOS_CLEAR_EVERY', 6); | |
define('CII_THEME_MEMBERS_ADVISORYBOARD_CLEAR_EVERY', 4); | |
/** | |
* Preprocess function for views list. | |
* | |
* You can figure out how this should be named by enabling devel_themer and clicking | |
* on items on the webpage. |