I hereby claim:
- I am forestmars on github.
- I am forestmars (https://keybase.io/forestmars) on keybase.
- I have a public key whose fingerprint is FCCF FCF6 9112 6AE1 8B77 FCA9 F86F C64A 9ACE 3025
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{% extends '/themes/twigtastic/templates/footer.html.twig' %} | |
{% block header %} | |
<header> | |
<h2>Frontpage Footer -<strong> Get in touch:</strong></h2> | |
</header> | |
{% endblock %} | |
{% block footer %} | |
(This is the front page footer) |
<div id="footer-wrapper"> | |
{% block footer %} | |
(This is the normal footer block.) | |
{% endblock %} | |
<!-- Footer --> | |
<div id="footer" class="container"> |
/** | |
* Include meta tags. | |
* Also how does this work without a valid argument? | |
*/ | |
//drupal_add_html_head($variables, 'rendering_meta'); { | |
// Add a theme-specific css class to the body tag. | |
//$variables['attributes']['class'][] = 'twigtastic'; | |
//} |
## How to add Twig templates to your OSX Quickview | |
## Due to the way OSX works you have to add new declarations for a file type to an application. | |
## That's bc of OSX's app-based approach (as opposed to the standard file based approach in Unix!) | |
## So you need to pick an application to add this definition to. | |
## I recommend using a free app you downloaded and not something you have licensed/registered. | |
# Find the Application in Finder, control-click it, and select "Show package contents" | |
http://j.mp/D7StudentManual | |
http://dgo.to/drush | |
http://dgo.to/admin_menu | |
function codify_block_info() { | |
$blocks = array(); | |
$blocks['submit_session'] = array( | |
'info'=> t('Submit Session Block') | |
); | |
return $blocks; | |
} | |
function codify_blocks_block_view($delta) { | |
$blocks = array(); |
<?php | |
/* @file | |
* provides custom blocks | |
*/ | |
function n101_blocks_block_info() { | |
$blocks = array(); | |
$blocks['custom1'] = array( | |
'info'=> t('Custom block 1') | |
); |
<?php | |
global $user; | |
global $node; | |
$pageURL = (@$_SERVER["HTTPS"] == "on") ? "https://" : "http://"; | |
$current_nid = $node->nid; | |
$load_limit = 60; | |
$add_query_string=""; | |
$query_string=""; | |
$showstoppers_event=false; |
$view = new view(); | |
$view->name = 'taxonomy_term'; | |
$view->description = 'A view to emulate Drupal core\'s handling of taxonomy/term.'; | |
$view->tag = 'default'; | |
$view->base_table = 'node'; | |
$view->human_name = 'Taxonomy term'; | |
$view->core = 7; | |
$view->api_version = '3.0'; | |
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ |