This file contains hidden or 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:activerecord | |
select='entry_id' | |
from='channel_titles' | |
where:url_title='{segment_x}' | |
limit='1' | |
} |
This file contains hidden or 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_cache:it tags='blog_listing'} | |
{embed='_global/document_head' template_name='blog-listing'} | |
{header} | |
<h1>Page Title</h1> | |
<p>Pellentesque auctor neque nec urna. Phasellus gravida semper nisi. Etiam feugiat lorem non metus. Sed libero. Phasellus nec sem in justo pellentesque facilisis.</p> | |
{footer} |
This file contains hidden or 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
INSERT INTO `exp_zoo_visitor_settings` (`site_id`, `var`, `var_value`, `var_fieldtype`) | |
VALUES | |
(3, 'member_channel_id', '65', 'select'), | |
(3, 'anonymous_member_id', '50', 'select'), | |
(3, 'redirect_after_activation', 'no', 'select'), | |
(3, 'redirect_location', '', 'textinput'), | |
(3, 'email_is_username', 'no', 'select'), | |
(3, 'email_confirmation', 'no', 'select'), | |
(3, 'password_confirmation', 'yes', 'select'), | |
(3, 'use_screen_name', 'yes', 'select'), |
This file contains hidden or 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
var $everythingBut = $('.container > *').not(':first-child'); |
This file contains hidden or 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
/* small screen, 72ppi */ | |
.banner { | |
background-image: url(/assets/img/tmp/detail-s.jpg); | |
} | |
/* small screen, 192ppi */ | |
@media screen and (max-width: 42.611em) | |
and (-webkit-min-device-pixel-ratio: 2), | |
(min-resolution: 192dppx) { | |
.banner { | |
background-image: url(/assets/img/tmp/detail-s-2x.jpg); |
This file contains hidden or 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
var container = document.querySelector('.container'); | |
var msnry = new Masonry( container, { | |
// options | |
itemSelector: '.item', | |
gutter: 10 | |
}); | |
var ias = $.ias({ | |
container: ".container", | |
item: ".item", |
This file contains hidden or 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
<snippet> | |
<content><![CDATA[<?php | |
${1} | |
?>]]></content> | |
<tabTrigger><?php</tabTrigger> | |
<description>PHP Tag Autocomplete</description> | |
</snippet> |
This file contains hidden or 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
gzip on; | |
gzip_disable "MSIE [1-6]\.(?!.*SV1)"; | |
gzip_types text/plain text/css text/javascript application/javascript application/x-javascript image/svg+xml; | |
gzip_vary on; |
This file contains hidden or 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
<IfModule mod_headers.c> | |
<FilesMatch "\.(js|css|xml|gz)$"> | |
Header append Vary: Accept-Encoding | |
</FilesMatch> | |
</IfModule> |
This file contains hidden or 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
{if (structure:top:url == structure:page:url AND structure:child_ids != "") OR (structure:top:url != structure:page:url AND structure:child_ids == "") } | |
<!-- Sidebar Code or Whatever --> | |
{/if} |