Colors of social brands is [here][2]
Facebook Share
http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwebsite.com&t=url%20encoded%20text
Facebook Like Button
http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwebsite.com
{% set allEvents = craft.entries.section('events').find() %} | |
{% set futureEvents = [] %} | |
{% for event in allEvents %} | |
{% if event.startDate | date('U') >= 'now' | date('U') %} | |
{% set futureEvents = futureEvents | merge([event]) %} | |
{% endif %} | |
{% endfor %} | |
{% for date, events in futureEvents | sortByField('startDate') | group('startDate|date("F Y")') %} |
_gaq.push(['_trackEvent', 'Donate error', 'field validation error', 'email']); |
This is a hack on Statamic's Suggest fieldtype to allow options to be passed in via a separate file. This way global variables can populate the options.
Paste the code from ft.suggest.hack.php
into cp/fieldtypes/suggest/ft.suggest.php
after the "Hardcoded list of options" section.
In your fieldset, do something like this:
brand:
display: Brand
title: Fieldset Kitchen Sink | |
fields: | |
status: | |
type: status | |
_template: | |
type: templates |
<form action="." method="post"> | |
<noscript>You must <a href="http://www.enable-javascript.com" target="_blank">enable JavaScript</a> in your web browser in order to pay via Stripe.</noscript> | |
<input | |
type="submit" | |
value="Pay with Card" | |
data-key="PUBLISHABLE STRIPE KEY" | |
data-amount="500" | |
data-currency="cad" | |
data-name="Example Company Inc" |
@media only screen and (min-width: 320px) { | |
/* Small screen, non-retina */ | |
} | |
@media | |
only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 320px), | |
only screen and ( min--moz-device-pixel-ratio: 2) and (min-width: 320px), | |
only screen and ( -o-min-device-pixel-ratio: 2/1) and (min-width: 320px), |