Skip to content

Instantly share code, notes, and snippets.

View stuartgpalmer's full-sized avatar

Stuart Palmer stuartgpalmer

View GitHub Profile
<data>
<upcoming-events>
<section id="15" handle="upcoming-events">Upcoming events</section>
<entry id="1037">
<title handle="brockwell-park-firework-display-saturday-5th-november">BROCKWELL PARK FIREWORK DISPLAY - Saturday 5th November</title>
<date time="18:12" weekday="6">2011-11-05</date>
<time handle="700-745pm">7.00-7.45pm</time>
<location handle="outside-brockwell-hall-brockwell-park">Outside Brockwell Hall, Brockwell Park</location>
<content>Due to our MASSIVE successes at the Lambeth Country Show and the car-free days, Lambeth Events team have asked us to sing before the Firework Display in Brockwell Park. Wrap up warm in your Popchoir Sweatshirt and come along with your family and friends to enjoy the funfair and the fireworks as well as our own performance! And yes - they've learned their lesson - there WILL be a PA system this time!!!</content>
<choirs>
@stuartgpalmer
stuartgpalmer / gist:1844627
Created February 16, 2012 12:51
Text area driver
<?php
/*
* Import Driver
*
* Each field should have a specific class for import-export functions.
* When none is found, the default fallback is this class.
*/
class ImportDriver_textarea {
<xsl:value-of select-"blah" />
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!--
Name: DATA SOURCE PAGINATION
Version: 1.4
Author: Nick Dunn <[email protected]>, extended by Nils Hörrmann <[email protected]>
URL: http://symphony-cms.com/downloads/xslt/file/20482/
Required Parameters:
/* ---- Pagination ---- */
ul.pagination li {
list-style-type: none;
display: inline;
}
.formatted ul.pagination li:Before {
display:none;
}
ul.pagination li a {
<data>
<all-products-paginated>
<pagination total-entries="42" total-pages="3" entries-per-page="18" current-page="1" />
<section id="8" handle="products">Products</section>
<entry id="486">
<title handle="issue-1">Issue 1</title>
<label handle="issue-1">Issue 1 </label>
<category>
<item id="282" handle="back-issues" section-handle="product-categories" section-name="Product categories">Back issues</item>