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
<entry gd:etag="W/"CE4EQn47eCp7ImA9WhZUFko.""> | |
<id>tag:youtube.com,2008:video:Nujoj5yRWTE</id> | |
<published>2011-06-10T02:28:23.000Z</published> | |
<updated>2011-06-10T02:28:23.000Z</updated> | |
<category scheme="http://schemas.google.com/g/2005#kind" term="http://gdata.youtube.com/schemas/2007#video"/> | |
<category scheme="http://gdata.youtube.com/schemas/2007/categories.cat" term="Entertainment" label="Entertainment"/> | |
<category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="106 Weston Street"/> | |
<category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="London property"/> | |
<category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="Tim Murphy"/> | |
<category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="IP Global"/> |
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
var tabs = new Ext.TabPanel({ | |
renderTo: Ext.getBody(), | |
activeTab: 0, | |
items: [{ | |
title: 'Hello', | |
html: 'World!' | |
}] | |
}); |
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
$(document).ready(function(){ | |
alert('HELLO WORLD'); | |
}); |
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
$tv = $modx->getObject('modTemplateVar', array('name' => 'hitcount')); | |
$criteria = array( | |
'tmplvarid' => $tv->get('id'), | |
'contentid' => $modx->resourceIdentifier | |
); | |
if(!$tvResource = $modx->getObject('modTemplateVarResource', $criteria)){ | |
$tvResource = $modx->newObject('modTemplateVarResource'); | |
$tvResource->set('value', 1); |
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
# MODX supports Friendly URLs via this .htaccess file. You must serve web | |
# pages via Apache with mod_rewrite to use this functionality, and you must | |
# change the file name from ht.access to .htaccess. | |
# | |
# Make sure RewriteBase points to the directory where you installed MODX. | |
# E.g., "/modx" if your installation is in a "modx" subdirectory. | |
# | |
# You may choose to make your URLs non-case-sensitive by adding a NC directive | |
# to your rule: RewriteRule ^(.*)$ index.php?q=$1 [L,QSA,NC] |
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 | |
/* | |
Call it like this: | |
[[getResourceAsPlaceholder? | |
&id=`10` | |
&prefix=`doc.` | |
&separator=`.` |
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
<!doctype html> | |
<head> | |
</head> | |
<body> | |
<div id="page"></div> | |
</body> |
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
var element = document.getElementById('page'); | |
element.innerHTML = 'Ni Hao Shi Jie!'; |
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
$(document).ready(function(){ | |
$('#page').text("Ni Hao Shi Jie!"); | |
}); | |
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
Ext.onReady(function(){ | |
var helloWorldHongKongStyle = new Ext.form.Label({ | |
text: 'Ni Hao Shi Jie!' | |
,renderTo: 'page' | |
}); | |
}); |
OlderNewer