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
# On branch official-1.3 | |
# Changes not staged for commit: | |
# (use "git add <file>..." to update what will be committed) | |
# (use "git checkout -- <file>..." to discard changes in working directory) | |
# | |
# modified: public_html/_add-ons/redactor/css/redactor.css | |
# modified: public_html/_add-ons/redactor/ft.redactor.php | |
# modified: public_html/_add-ons/redactor/hooks.redactor.php | |
# modified: public_html/_add-ons/redactor/js/fullscreen.js | |
# modified: public_html/_add-ons/redactor/js/redactor.min.js |
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
// Track outbound links in GA via events | |
$("a").on('click',function(e){ | |
var url = $(this).attr("href"); | |
if (e.currentTarget.host != window.location.host) { | |
_gaq.push(['_trackEvent', 'Outbound Links', e.currentTarget.host, url, 0]); | |
if (e.metaKey || e.ctrlKey) { | |
var newtab = true; | |
} | |
if (!newtab) { | |
e.preventDefault(); |
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
{exp:stash:set name="blocks" parse="inward"} | |
{ov_blocks} | |
<div class="block{switch="| even"} size-{block_image_size}" id="block-{row_count}"> | |
<div class="img">{exp:ce_img:single src="{block_image}" width="{block_image_size}" max_width="{block_image_size}" quality="72" alt="size:{block_image_size}"}</div> | |
{if block_headline}<h2>{block_headline}</h2>{/if} | |
{if block_content}{block_content}{/if} | |
</div> | |
{/ov_blocks} | |
{/exp:stash:set} |
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
{exp:ce_img:pair | |
src="{block_image}" | |
width="{if '{block_image_size}'=='large'}293{if:elseif '{block_image_size}'=='small'}137{if:else}215{/if}" | |
max_width="{if '{block_image_size}'=='large'}293{if:elseif '{block_image_size}'=='small'}137{if:else}215{/if}" | |
quality="72" | |
} | |
<img src="{made}" width="{width}" height="{height}"> | |
{/exp:ce_img:pair} |
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
$show-blocks: true; // Show Block Shading | |
// Shades all block level elements if show-blocks is true | |
@if $show-blocks == true { | |
address, article, aside, blockquote, | |
center, dd, details, dir, div, dl, | |
dt, fieldset, figcaption, figure, | |
footer, form, frameset, h1, h2, h3, | |
h4, h5, h6, header, hgroup, hr, | |
isindex, menu, nav, noframes, |
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
$show-blocks: true; // Show Block Shading | |
// Shades all block level elements if show-blocks is true | |
// Requires Compass | |
@if $show-blocks == true { | |
#{elements-of-type(block)}{ | |
background: rgba(0,0,0,0.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
// Grid related variables | |
// 995px by 26 columns | |
$gw-column: 20px; | |
$gw-gutter: 19px; | |
$grid-image: '/assets/images/content_images/995px-26col-20w-19gut.png'; | |
// Grid span columns | |
@mixin span-columns($span: $columns) { |
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
I get this error after installing Zoo Flexible Admin: | |
A PHP Error was encountered | |
Severity: Warning | |
Message: Parameter 1 to Low_variables_ext::sessions_end() expected to be a reference, value given | |
Filename: libraries/Extensions.php | |
Line Number: 241 | |
followed by the usual "can't modify headers" message. |
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
$('#content a:not(.popupwindow)').filter(function() { | |
var theHref = this; | |
if (theHref.hostname && theHref.hostname !== location.hostname) { | |
$(theHref).not(".noAutoIcon").addClass("offSite"); | |
$(theHref).not(".noAutoLink").attr('target','_blank').bind('click keypress', function(event) { | |
var code=event.charCode || event.keyCode; | |
if (!code || (code && code == 13)) { | |
if(pageTracker){ | |
var fixedLink = this.href; | |
fixedLink = fixedLink.replace(/https?:\/\/(.*)/,"$1"); |