- simple all-in-one interface
- choose a section with relevant fields (name, email, phone, message, etc)
- automatically generate an event
- automatically generate a data source
- automatically generate page template for etm
- display markup for developer to paste into contact form (think event creation page), including error/success message,
required
fields, postback field data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- CSS3 SASS MIXINS ---- | |
// https://github.com/madr/css3-sass-mixins | |
// | |
// Copyright (C) 2011 by Anders Ytterström | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is |
What I do after I do a fresh install. Things are sorta grouped by type.
- Turn on TRIM if machine has a non-Apple SSD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "creating project directory.." | |
mkdir $1 | |
cd $1 | |
git init | |
echo "downloading symphony files.." | |
git remote add core git://github.com/symphonycms/symphony-2.git > /dev/null | |
git pull core master > /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once(TOOLKIT . '/class.datasource.php'); | |
Class datasourceblog_tags extends SectionDatasource{ | |
public $dsParamROOTELEMENT = 'blog-tags'; | |
public $dsParamORDER = 'desc'; | |
public $dsParamPAGINATERESULTS = 'no'; | |
public $dsParamLIMIT = '20'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* page functions are grouped by <body>'s class. | |
* all pages in a class fire init(). | |
* named functions are fired according to <body>'s id. | |
* hyphens are stripped from classes and ids automatically. | |
* | |
*/ | |
SUGAR = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "creating project directory.." | |
mkdir $1 | |
cd $1 | |
git init | |
echo "downloading symphony files.." | |
git remote add core git://github.com/symphonycms/symphony-2.git | |
git pull core master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array | |
( | |
[0] => Array | |
( | |
[number] => 2 | |
[message] => XSLTProcessor::importStylesheet(): </xsl:template> | |
[file] => /Users/fox/Sites/mercytrials/symphony/lib/toolkit/class.xsltprocess.php | |
[line] => 145 | |
[type] => xsl | |
[context] => <?xml version="1.0" encoding="UTF-8"?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
au! BufWritePost .vimrc source % " automatically reload when editing .vimrc | |
" 4 spaces for tabs and automatically inherit previous line's indentation. | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set autoindent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date="http://exslt.org/dates-and-times" | |
extension-element-prefixes="date"> | |
<!-- | |
Description: | |
This is a date formatting utility. The named template "format-date" takes 2 parameters: | |
1. date - [required] takes an ISO date (2005-12-01T13:45:00) |