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
/** | |
* THEMING BREADCRUMBS | |
*/ | |
function myubertheme_breadcrumb($variables) { | |
$breadcrumb = $variables['breadcrumb']; | |
if (!empty($breadcrumb)) { | |
// Provide a navigational heading to give context for breadcrumb links to | |
// screen-reader users. Make the heading invisible with .element-invisible. |
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
$(document).ready(function() { | |
/* FUNCTION TO READ QUERYSTRING PARAM */ | |
$.urlParam = function(name){ | |
var results = new RegExp('[\\?&]' + name + '=([^&#]*)').exec(window.location.href); | |
if (!results) { return 0; } | |
return results[1] || 0;} | |
/* GET URLPARAM MONTH */ |
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 if ($element['#view_mode'] == "full") { // styling image in full display mode?> | |
<div class="flexslider"<?php print $attributes; ?>> | |
<ul class="slides"<?php print $content_attributes; ?>> | |
<?php foreach ($items as $delta => $item): ?> | |
<li<?php print $item_attributes[$delta]; ?>><?php print render($item); ?></li> | |
<?php endforeach; ?> | |
</ul> | |
</div> |
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 | |
function mytheme_preprocess_node(&$vars,$hook) { | |
// PRODUCTTABS | |
if($vars['type'] == 'products' && $vars['view_mode'] == 'full') { | |
// CHECK IF NODE HAS TECHINFO | |
if (isset($vars['field_technische_informatie'][0])) { |
NewerOlder