Skip to content

Instantly share code, notes, and snippets.

View peterboorsma's full-sized avatar

Peter Boorsma peterboorsma

View GitHub Profile
Uncaught Exception: DriverException .
DriverException in AbstractMySQLDriver.php line 125:
An exception occurred while executing 'UPDATE bolt_muurgedichten SET id = ?, slug = ?, datecreated = ?, datechanged = ?, datepublish = ?, datedepublish = ?, ownerid = ?, status = ?, templatefields = ?, locale = ?, title = ?, author = ?, authorsurname = ?, authororigin = ?, poemcolor = ?, description = ?, poem = ?, poem1minute = ?, about3 = ?, about = ?, about1 = ?, stadsverhalen = ?, about5 = ?, imageinleiden = ?, about2 = ?, imagebetekenisgroep = ?, about4 = ?, quotes = ?, didyouknow = ?, poemoriginal = ?, poemen = ?, poemde = ?, poemfr = ?, poemit = ?, poemes = ?, moreinfo = ?, geolocation = ?, image = ?, image2 = ?, image3 = ?, video = ?, videotext = ?, audio = ?, audiotext = ?, nldata = ?, nlslug = ?, endata = ?, enslug = ? WHERE id = ?' with params ["8", "wahrlich", "2017-09-27 14:19:28", "2018-05-15 10:26:05", "2017-09-27 14:17:00", null, "2", "published", "[]", "", "Wahrlich (1964)", "Ingeborg", "Bachmann", "Dui
muurgedichten:
name: Muurgedichten
singular_name: Muurgedicht
fields:
slug:
type: slug
uses: title
group: content
locale:
type: locale
### Keybase proof
I hereby claim:
* I am peterboorsma on github.
* I am peterboorsma (https://keybase.io/peterboorsma) on keybase.
* I have a public key ASCAumJNR3gD388v2FV-Ju02MDXbGbONI-tT3YgvVkbixgo
To claim this, I am signing this object:
<title>
{% if app.request.get('_route') == "homepage" %}
{{ app.config.get('general/sitename') }} - {{ app.config.get('general/payoff') }}
{% elseif record.title is defined %}
{{ record.title|striptags }} - {{ app.config.get('general/sitename') }}
{% elseif record.title is not defined and app.config.get('general/payoff') %} - {{ app.config.get('general/payoff') }}
{% endif %}
</title>
{# description #}
<div class="large-10 columns">
<div class="panel">
<h3>Vrije plaats</h3>
<div class="availability not-avail"></div>
</div>
</div>
@peterboorsma
peterboorsma / Kampeeropties bedienen
Created April 15, 2015 12:18
Kampeeropties bedienen
/// Toggle locaties in verblijfoptielijsten
$('.panelcontent').hide().removeClass('open');
$('.panelholder').removeClass('open');
$('.panelbutton').click(function() {
if($(this).parents('.panelholder').find('.panelcontent').hasClass('open')) {
// sluit deze panel
$(this).parents('.panelholder').find('.panelcontent').slideUp('fast').removeClass('open');
$(this).parents('.panelholder').removeClass('open');
// button omdraaien
$(this).removeClass('active');
# This file defines the contenttypes on the website. See the documentation for
# details: http://docs.bolt.cm/content#defining-contenttypes
news:
name: News
singular_name: Newsitem
fields:
title:
type: text
class: large