technicka.netfrom the cerebrum of Becky Gessler

drupal theming

Useful Views Snippets

{syntaxhighlighter brush:php;}
<?php
print views_embed_view('menu', 'block_1', '1');
?>
{/syntaxhighlighter}

Views embed code for direct in .tpl.php files

Viewing Variables in Drupal

These are two ways to get an output of all the available variables you have for the given node you are working on in Drupal. The last example is a preprocess function for showing all the theme functions being called on a specific $hook.

Inline CSS styles with Drupal Input Filters

Drupal has a system of input filters that allows you to granularly control exactly what type of markup your content editors can publish. This comes down to things like which HTML tags they are allowed to use and if they can reference JavaScript/CSS files with style tags. No problem, just slap on Drupal’s built in HTML filer to kick out all that harmful stuff, and let them publish away.

Silly mistake working with .tpl.php and jQuery

InnerFade Plugin

I am just starting to experiment with using jQuery in my Drupal theming work. My most recent endeavor was to use the awesome "http://medienfreunde.com/lab/innerfade/">InnerFade plugin to get a div with some images to display a slideshow and rotate the pics through.

Pages

I pwn

Oh hai, my name is Becky and this is my personal website about tech and sometimes my life. I also make websites. You can learn more about that on my business website, Webfluence Consulting.