Stash 2.3.4 (beta) or later
/layouts/
standard.html
/partials/
listing.html
{exp:channel:entries | |
channel="producers" | |
disable="member_data|categories|category_fields|pagination" | |
dynamic="no" | |
url_title="{segment_3}" | |
} | |
{exp:stash:set no_results_prefix="nested_"} | |
{stash:page_title}{title}{/stash:page_title} |
var $dateTime = new DateTime(); | |
$dateTime->setTimezone(new DateTimeZone('America/New_york')); | |
$dateTime->setTimestamp(time()); | |
$isDst = (bool)$dateTime->format('I') ? "y" : "n"; | |
$conf['daylight_savings'] = $isDst; |
Stash 2.3.4 (beta) or later
/layouts/
standard.html
/partials/
listing.html
# path: | |
PS1='\[\e[0;33m\]⚡\[\e[m\] \[\e[0;31m\]${PWD##*/}\[\e[m\] ' | |
# general shorcuts | |
alias ll="ls -lahG" | |
alias reload="source ~/.profile" | |
alias up="cd .." | |
alias back="cd -" | |
alias desktop="cd ~/Desktop" | |
alias server="python -m SimpleHTTPServer" |
var els = document.querySelectorAll('.left .trash'); for(var i = 0; i < els.length; i++) { els[i].click(); } |
Ever run into this error before?
Uncaught TypeError: Object [object Object] has no method 'markItUp'
If you've ever used Safecracker for ExpressionEngine chances are you have!
What's happening is Safecracker is including JavaScript for custom fields in your form for you. These custom fields rely on said js to function properly. This in itself isn't a big deal but, the issue arises because Safecracker spits out this js right smack in the middle of your template wherever your Safecracker form happens to be located.
Again not the biggest issue except:
extension=apc.so | |
[APC] | |
apc.enabled=1 | |
apc.shm_segments=1 | |
apc.shm_size=1024M | |
;Relative to the number of cached files (you may need to watch your stats for a day or two to find out a good number) | |
apc.num_files_hint=7000 |
Press minus + shift + s
and return
to chop/fold long lines!
{exp:channel_search:results id="Geolocation" orderby="distance" sort="asc" limit="5"} | |
{if is_first_row} | |
{if prev_page || next_page} | |
<div class="pagination right"> | |
{if prev_page_url} | |
<a href="{prev_page_url}"><i class="icon-circle-arrow-left"></i> Prev Page</a> | |
{/if} |
<h3>Map</h3> | |
{exp:gmap:init id="map" center="United States" zoom="3" style="width:400px;height:300px" class="gmap"} | |
<hr> | |
<h3>Form</h3> | |
{exp:channel_search:form id="Geolocation"} | |
<div class="row"> |