Skip to content

Instantly share code, notes, and snippets.

@fieke
fieke / _block.scss
Created November 27, 2013 09:34
responsive circles
.circle-text {
width:50%;
}
.circle-text:after {
content: "";
display: block;
width: 100%;
height:0;
padding-bottom: 100%;
background: #4679BD;
@fieke
fieke / custom.php
Created October 24, 2013 07:14
Add overview movies + masonry & filter
<?php
/**
* Implementation of hook_block_info().
*/
function the_aim_picstory_block_info() {
$blocks = array();
// OVERVIEW MOVIES
$blocks['movie-overview'] = array(
'info' => t('CB - Movie overview'),
@fieke
fieke / custom.module
Created September 18, 2013 06:58
Add icon to default taxonomy menu block
/**
* Implements hook_taxonomy_menu_block_tree_alter
*/
function custom_taxonomy_menu_block_tree_alter(&$tree, $config) {
switch($config) {
// add icon image to cache of TMB
case '2':
foreach($tree as $tid => $term) {
@rubedell
rubedell / content_overview.info
Created August 29, 2013 08:46
Content overview without views (nodes - terms)
name = the AIM custom
package = the AIM
core = 7.x