Edit extensions/vendor/bolt/simpleforms/Extension.php
, around line 740.
Replace:
$res = $this->app['mailer']->send($message);
With:
### Keybase proof | |
I hereby claim: | |
* I am bobdenotter on github. | |
* I am bopp (https://keybase.io/bopp) on keybase. | |
* I have a public key whose fingerprint is 8A7F 688A FF4A 6389 8B7E 2607 DC3B 4CD3 5D01 4678 | |
To claim this, I am signing this object: |
https://gist.githubusercontent.com/bobdenotter/beef4d430dc025816964/raw/e1ef58ed3dee1a96de73dba6a09878590154370b/symfony-form-validator-2.5.3.patch | |
patch -p1 < symfony-form-validator-2.5.3.patch |
cacheMaxAge: 30 | |
itemAmount: 1 | |
feeds: | |
derekrethans: | |
name: "Derick Rethans" | |
title: "Derick Rethans' blog'" | |
url: "http://derickrethans.nl/" | |
feed: "http://derickrethans.nl/feed-php.xml" |
# Path to your oh-my-zsh installation. | |
export ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="mh" | |
# Uncomment the following line to use case-sensitive completion. |
Edit extensions/vendor/bolt/simpleforms/Extension.php
, around line 740.
Replace:
$res = $this->app['mailer']->send($message);
With:
if you have a route like `/events/{year}/{month}/{day}`, use this in your template: | |
{% set date = app.request.get('year') ~ '-' ~ app.request.get('month') ~ '-' ~ app.request.get('day') %} | |
{% setcontent events = "events" where { 'date': date } %} | |
{% for event in events %} | |
.. | |
{% endfor %} |
{ | |
"color_scheme": "Packages/Theme - Afterglow/Afterglow-markdown.tmTheme", | |
"extensions": | |
[ | |
"md" | |
], | |
"rulers": | |
[ | |
70, | |
80, |
Process: Marked 2 [2311] | |
Path: /Applications/Marked 2.app/Contents/MacOS/Marked 2 | |
Identifier: com.brettterpstra.marked2 | |
Version: 2.4.11 (895) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: Marked 2 [2311] | |
User ID: 501 | |
Date/Time: 2015-03-25 08:45:59.038 +0100 |
in routing.yml, add a route with a method: | |
``` | |
fietsnieuws: | |
path: /fietsnieuws | |
method: post | |
defaults: | |
_controller: 'Bolt\Controllers\Frontend::listing' | |
contenttypeslug: 'nieuws' |