- ???
- Bidsketch
- Proposable
<!-- START of Facebook Open Graph--> | |
<meta property="og:site_name" content="{Title}"/> | |
{block:PermalinkPage} | |
<meta property="og:url" content="{Permalink}"/> | |
<meta property="og:type" content="article"/> | |
{block:Posts} | |
{block:Text} |
A list of amazingly awesome PHP libraries, resources and shiny things.
<?php | |
/* Taxonomy Breadcrumb */ | |
function be_taxonomy_breadcrumb() { | |
// Get the current term | |
$term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); | |
// Create a list of all the term's parents | |
$parent = $term->parent; | |
while ($parent): | |
$parents[] = $parent; |
// {{{ win-safari hacks, scratch this, | |
// let's just expose platform/browser to css | |
(function() | |
{ | |
var uaMatch = '', prefix = ''; | |
if (navigator.userAgent.match(/Windows/)) | |
{ | |
$('html').addClass('x-win'); | |
} |
// Media Queries in Sass 3.2 | |
// | |
// These mixins make media queries a breeze with Sass. | |
// The media queries from mobile up until desktop all | |
// trigger at different points along the way | |
// | |
// And important point to remember is that and width | |
// over the portrait width is considered to be part of the | |
// landscape width. This allows us to capture widths of devices | |
// that might not fit the dimensions exactly. This means the break |
<?php | |
/** | |
* Custom configuration bootsrtap file for ExpressionEngine | |
* | |
* Place config.php in your site root | |
* Add require(realpath(dirname(__FILE__) . '/../../config_bootstrap.php')); to the bottom of system/expressionengine/config/config.php | |
* Add require(realpath(dirname(__FILE__) . '/../../config_bootstrap.php')); to the bottom of system/expressionengine/config/database.php | |
* If you have moved your site root you'll need to update the require_once path | |
* |
Have a writable folder public/blog_images in you app.
###routes.php
// Redactor Blog Upload
Route::post('redactorUpload', function()
{
$file = Input::file('file');
$fileName = $file->getClientOriginalName();
<!-- Not the FULL view --> | |
<link rel="stylesheet" href="{{ url('css/sir-trevor-icons.css')}}" type="text/css"> | |
<link rel="stylesheet" href="{{ url('css/sir-trevor.css')}}" type="text/css"> | |
<!-- Using some Bootstrap here --> | |
<div class="container"> | |
<div class="row" id="post-form-container"> | |
<h3>Create A Post</h3> | |
<form method="post" action="form" id="post-form" role="form"> | |
<div class="form-group"> |