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
/* The Grid ---------------------- */ | |
.lt-ie9 .row { width: 940px; max-width: 100%; min-width: 768px; margin: 0 auto; } | |
.lt-ie9 .row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; } | |
.lt-ie9 .row.large-collapse .column, | |
.lt-ie9 .row.large-collapse .columns { padding: 0; } | |
.lt-ie9 .row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; } | |
.lt-ie9 .row .row.large-collapse { margin: 0; } | |
.lt-ie9 .column, .columns { float: left; min-height: 1px; padding: 0 15px; position: relative; } | |
.lt-ie9 .column.large-centered, .columns.large-centered { float: none; margin: 0 auto; } |
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
{exp:stash:set_list name="venues" parse_tags="yes" parse_conditionals="yes" trim="yes"} | |
{exp:channel:entries channel="events" dynamic="no" show_future_entries="yes"} | |
{if cf_events_place} | |
{stash:venue_title}{cf_events_place}{title}{/cf_events_place}{/stash:venue_title} | |
{stash:venue_id}{cf_events_place}{entry_id}{/cf_events_place}{/stash:venue_id} | |
{/if} | |
{/exp:channel:entries} | |
{/exp:stash:set_list} | |
<select> |
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
// Global template | |
{exp:nsm_better_meta:template} | |
// Page template | |
{embed="_embeds/start" | |
entry_id="{entry_id}" | |
description="Bar" | |
} |
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
{# _partials/blocks/blocks.html #} | |
{# | |
Blocks component | |
Outputs a matrix field blocks, intelligently wrapping blocks that need to be inset from the edges | |
@param {object} contentBlocks (MatrixBlockModel) | |
#} | |
{# Parameters #} |
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 | |
// Stripped down for brevity | |
class BPlugin { | |
public function init () { | |
// Trigger Google Shopping updates | |
// ===================================================================== | |
if (!craft()->config->get('devMode')) { |
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 | |
/** | |
* Get a users first name from the full name | |
* or return the full name if first name cannot be found | |
* e.g. | |
* James Smith -> James | |
* James C. Smith -> James | |
* Mr James Smith -> James | |
* Mr Smith -> Mr Smith |
OlderNewer