Skip to content

Instantly share code, notes, and snippets.

View nilshoerrmann's full-sized avatar

Nils Hörrmann nilshoerrmann

View GitHub Profile
@nilshoerrmann
nilshoerrmann / csscomb.json
Created November 7, 2014 07:08
CSS-Regeln – hana+nils
{
"exclude": [
".git/**",
"node_modules/**"
],
"always-semicolon": true,
"block-indent": "\t",
"colon-space": [0, 1],
"color-case": "lower",
"color-shorthand": true,
@nilshoerrmann
nilshoerrmann / sym24_ui-changes.md
Created April 3, 2014 19:04
Symphony 2.4: UI changes

User Interface

The Symphony UI has been simplified and most animations have been moved from script functions to style definitions. Overall the backend should handle large data sets much better and should be more responsive.

As of Symphony 2.4 we are using Grunt to merge and compress assets. Please see the readme for more information on Grunt. This is new assets folder structure:

  • /css
    • /src
    • minified sources
  • /js
@nilshoerrmann
nilshoerrmann / Symphony Documenter.md
Last active December 21, 2015 05:59
Ideas for updating Documenter for Symphony, see https://github.com/symphonists/documenter

Storing Documentation

Documenter should not longer store documentation in the database but in plain Markdown text files on the server in the workspace folder. This way, it would be possible to easily share texts between installs and to track changes using Git.

Showing Documentation

In order to keep things simple, documentation should be converted from Markdown to HTML on the fly. This will remove the need to keep server and database in sync. To reduce page load, we could do the following instead:

  • Documenter should only add references to the actual files on the server when loading a backend page.
  • Each of these reference should carry a last modified timestamp of the server file.
@nilshoerrmann
nilshoerrmann / map.geojson
Created August 14, 2013 19:28
via:geojson.io
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<data>
<smorgasbord-portfolio>
<pagination total-entries="19" total-pages="3" entries-per-page="7" current-page="1" />
<section id="27" handle="smorgasbord-portfolio">Smorgasbord Portfolio</section>
<entry id="416">
<title handle="twenty8twelve-new">Twenty8Twelve/NEW</title>
<description mode="formatted" handle="twenty8twelve-is-a-global-fashion-brand-with-three-stand-alone-boutiques-in-london-the-brand-is-also-sold-in-over-300-carefully-selected-retailers-in-more-than-20-countries-worldwide-each-season-new-characters-inspire-the-designers-to-evolve-the-collectio" word-count="45"><p>Twenty8Twelve is a global fashion brand with three stand-alone boutiques in London. The brand is also sold in over 300 carefully selected retailers in more than 20 countries worldwide. Each season new characters inspire the designers to evolve the collection to a new level, offering wardrobe.</p></description>
<images field-id="122" subsection-id="26" items="4">
<item id="471">
<ti
<data>
<smorgasbord-portfolio>
<pagination total-entries="19" total-pages="3" entries-per-page="7" current-page="1" />
<section id="27" handle="smorgasbord-portfolio">Smorgasbord Portfolio</section>
<entry id="416">
<title handle="twenty8twelve-new">Twenty8Twelve/NEW</title>
<description mode="formatted" handle="twenty8twelve-is-a-global-fashion-brand-with-three-stand-alone-boutiques-in-london-the-brand-is-also-sold-in-over-300-carefully-selected-retailers-in-more-than-20-countries-worldwide-each-season-new-characters-inspire-the-designers-to-evolve-the-collectio" word-count="45"><p>Twenty8Twelve is a global fashion brand with three stand-alone boutiques in London. The brand is also sold in over 300 carefully selected retailers in more than 20 countries worldwide. Each season new characters inspire the designers to evolve the collection to a new level, offering wardrobe.</p></description>
<images field-id="122" subsection-id="26" items="4">
<item id="471">
<ti
<data>
<entry id="1">
<title>Title 1</title>
<gallery>
<item>
<image>Image 1</image>
</item>
</gallery>
</entry>
<entry id="2">
<data>
<page-content id="82">
<h1>This is a H1</h1>
<h2>The Gorilla Team</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ac metus non ante sodales vulputate. Cras porttitor vestibulum varius. Maecenas tristique tortor id nulla gravida venenatis. Integer dapibus, sapien vitae aliquam laoreet, libero massa elementum ante, eu pulvinar erat odio vel augue. Nulla facilisi. Praesent vestibulum bibendum metus.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ac metus non ante sodales vulputate. Cras porttitor vestibulum varius. Maecenas tristique tortor id nulla gravida venenatis. Integer dapibus, sapien vitae aliquam laoreet, libero massa elementum ante, eu pulvinar erat odio vel augue. Nulla facilisi. Praesent vestibulum bibendum metus.</p>
<h2>This is another h2 I don't want affected</h2>
</page-content>
@nilshoerrmann
nilshoerrmann / sym_userinterfaceupdates.markdown
Created June 2, 2011 11:40
Symphony 2.3 User Interface
@nilshoerrmann
nilshoerrmann / pagination.xsl
Created May 21, 2010 13:46
Data Source Pagination for Symphony
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!--
DATA SOURCE PAGINATION
A utility by Nick Dunn <[email protected]>
extended by Nils Hörrmann <[email protected]>
# Required Parameters: