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
{preload_replace:master_channel_name="cloud_rss_feed"} | |
{exp:rss:feed channel="{master_channel_name}"} | |
<?xml version="1.0" encoding="{encoding}"?> | |
<rss version="2.0" | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" | |
xmlns:admin="http://webns.net/mvcb/" | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
xmlns:content="http://purl.org/rss/1.0/modules/content/"> |
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
{sn_header} | |
{sn_mast} | |
<div class="container-fluid"> | |
<div class="row-fluid"> | |
<div class="span3"> | |
{sn_sub} | |
</div><!--/span--> | |
<div class="span9"> |
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
<script type="text/javascript" src="jquery.validate.js"> </script> | |
<script type="text/javascript" src="localization/{freebie_1}.messages.js"> </script> |
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
{preload_replace:master_channel_name="articles"} | |
{exp:rss:feed channel="{master_channel_name}"} | |
<?xml version="1.0" encoding="{encoding}"?> | |
<rss version="2.0" | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" | |
xmlns:admin="http://webns.net/mvcb/" | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
xmlns:content="http://purl.org/rss/1.0/modules/content/"> |
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
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?charles-rennie-mackintosh-font.co.uk [NC] | |
RewriteRule \.(pdf)$ - [NC,F,L] |
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
$weblogs_to_groups = array( | |
8 => array('prefix' => 'news_', 'group_id' => 22), | |
13 => array('prefix' => 'press_', 'group_id' => 24), | |
11 => array('prefix' => 'position_', 'group_id' => 25), | |
15 => array('prefix' => 'confidential_', 'group_id' => 26), | |
16 => array('prefix' => 'staff_', 'group_id' => 23), | |
17 => array('prefix' => 'partners_', 'group_id' => 27), | |
7 => array('prefix' => 'content_', 'group_id' => 28), | |
9 => array('prefix' => 'footer_', 'group_id' => 20), | |
14 => array('prefix' => 'external_', 'group_id' => 19), |
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
UPDATE exp_channel_data cd | |
INNER JOIN exp_channel_titles ct | |
ON cd.entry_id = ct.entry_id | |
SET cd.field_id_9 = CONCAT('{filedir_2}', ct.url_title, '.jpg') | |
WHERE ct.channel_id = '2' |
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
$(".addrow").click(function(){ | |
var m = Matrix.instances[0]; // gets the first Matrix instance on the page | |
m.addRow(); | |
return false; | |
}) | |
$(".remrow").click(function(){ | |
var m = Matrix.instances[0]; // gets the first Matrix instance on the page | |
m.removeRow(m.totalRows - 1); // removes the last row | |
return false; |
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
{ | |
"auto_complete_commit_on_tab": true, | |
"bold_folder_labels": true, | |
"file_exclude_patterns": | |
[ | |
".DS_Store" | |
], | |
"folder_exclude_patterns": | |
[ | |
"bin", |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "lucid64" | |
config.vm.box_url = "http://files.vagrantup.com/lucid64.box" | |
config.vm.network :private_network, ip: "192.168.56.101" | |
config.ssh.forward_agent = true | |
config.vm.network :forwarded_port, guest: 80, host: 8888, auto_correct: true |