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
_log_pskb(date_created,link_id,logname,log) | |
account(id,uid,sum) | |
account_attach(account_id,file_id,name,orig_name) | |
account_transaction(user_id,yd) | |
activate_service(code,email,data) | |
admin_log_users(user_id,log_id,last_comment_view) | |
annoy(ip,last_req) | |
articles(title,short,msgtext,sign,logo,link) | |
articles_comments(from_id,parent_id,from_ip,created_time,article_id,msgtext,youtube_link) | |
articles_comments_files(comment_id,file_id,small,inline,temp) |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
function vimeo_thumb_size( $id, $size = 'large' ) { | |
// Sanitize the variables | |
$id = esc_attr( $id ); | |
$size = esc_attr( $size ); | |
// Stop if no video ID entered | |
if ( empty( $id ) ) | |
return 'Error - no video ID specified'; |
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
<?php | |
/**************************************/ | |
/** HtmlFromNabor snippet for MODX Revo | |
* | |
* @version 0.2 | |
* @author Borisov Evgeniy aka Agel Nash (agel-nash@xaker.ru) | |
* @date 18.12.2012 | |
* | |
* @category snippet | |
* @internal @modx_category System |
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
Call the snippet | |
[[multiCols? | |
&cols=`2` | |
&tvs=`{"image":1}` | |
&select=`pagetitle,introtext` | |
&where=`{"published":1, "deleted":0, "parent":2}` | |
&sortby=`publishedon` | |
&sortdir=`DESC` | |
&tpl=`tpl_article` |
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
<link rel="shortcut icon" href="[(site_url)]/favicon.ico"/> |
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
[[Wayfinder?startId=`0`]] |
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
[[Wayfinder?startId=`6`]] |
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
[[Wayfinder? &startId=`[*parent*]`]] |
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
$(function() { | |
//MODx pdoResources Ajax Filter | |
//Filter Settings | |
var fadeSpeed = 200, // Fade Animation Speed | |
ajaxCountSelector = '.ajax-count', // CSS Selector of Items Counter | |
ajaxContainerSelector = '.ajax-container', // CSS Selector of Ajax Container | |
ajaxItemSelector = '.ajax-item', // CSS Selector of Ajax Item | |
ajaxFormSelector = '.ajax-form', // CSS Selector of Ajax Filter Form | |
ajaxFormButtonStart = '.ajax-start', // CSS Selector of Button Start Filtering |
OlderNewer