Before getting into the matter, I wanted to set the stage. We are essentially going to talk about three things today.
- The context of digital design
- Problematic static design deliverables
- Design deliverables and the current digital workflow
{% extends "_layouts/default" %} | |
{% block content %} | |
{# | |
Events just have a Matrix fields with multiple dates. | |
The goal is to get all dates within a certain date range, ordered by date asc | |
All event details should be repeated when an event occurs at multiple dates | |
Events are presented in a calendar view and should only appear for a given day if they have | |
a corresponding occurence on that day. |
{% extends "_layouts/default" %} | |
{% block content %} | |
{# | |
Tackling discontinuous events without duplication | |
- Each event has a 'startDate' and an 'endDate' (those are just a date interval, the first date corresponds the the first occurrence of the event and the mast one corresponds to the last occurence of the events). This matching is done manually but we could also use the preparse plugin. | |
- Each event has got a matrix field 'timetable' with just a block 'mxBlockDate' and date field 'mxDate' for each occurence of the event |
{% extends "_layouts/default" %} | |
{% block content %} | |
{# | |
I have to build an event heavy website | |
1. Events can have one or more dates | |
Duplicating events for multiple dates makes no sense |
Before getting into the matter, I wanted to set the stage. We are essentially going to talk about three things today.
{!-- | |
I have a complex template, fully cached. | |
The only thing I don't want to cache is a list of random testimonials | |
that has to change every time the page is loaded. | |
*** | |
Some things I would like to understand, pretty please |
{!-- Stash page caching https://github.com/croxton/Stash/wiki/Caching --} | |
{exp:stash:cache bundle="news"} | |
{!-- layout used --} | |
{stash:embed name="layouts:page"} | |
{exp:channel:entries | |
channel="news" | |
status="open" | |
disable="member_data|pagination" |
// Load plugins | |
var gulp = require('gulp'), | |
sass = require('gulp-ruby-sass'), | |
autoprefixer = require('gulp-autoprefixer'), | |
jshint = require('gulp-jshint'), | |
uglify = require('gulp-uglify'), | |
rename = require('gulp-rename'), | |
concat = require('gulp-concat'), | |
notify = require('gulp-notify'), | |
minifycss = require('gulp-minify-css'); |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
require "config.php"; | |
/* End of file database.php */ | |
/* Location: ./system/expressionengine/config/database.php */ |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/* | |
|-------------------------------------------------------------------------- | |
| ExpressionEngine Config Items | |
|-------------------------------------------------------------------------- | |
| | |
| The following items are for use with ExpressionEngine. The rest of | |
| the config items are for use with CodeIgniter. | |
| |
# Standard .htaccess file | |
# ------------------------------------------------- | |
# ------------------------------------------------- | |
# Secure .htaccess file | |
# ------------------------------------------------- | |
<Files .htaccess> | |
order allow,deny | |
deny from all | |
</Files> |