Read the blog at http://fokkezb.nl/2013/09/20/url-schemes-for-ios-and-android-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
<?php | |
// Variables used in this script: | |
// $summary - text title of the event | |
// $datestart - the starting date (in seconds since unix epoch) | |
// $dateend - the ending date (in seconds since unix epoch) | |
// $address - the event's address | |
// $uri - the URL of the event (add http://) | |
// $description - text description of the event | |
// $filename - the name of this file for saving (e.g. my-event-name.ics) | |
// |
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
@import "compass/css3/animation"; | |
@import "compass/css3/transform"; | |
$waveWidth:998px; | |
@include keyframes(waves){ | |
0%{ | |
left:0; | |
} | |
100%{ |
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
[ | |
{"formname":"Bloc1", "formtabs": | |
[ | |
{"caption":"Marque de bateau", "fields": [ | |
{"field":"MarqueBateau","caption":"Marque"} | |
]} | |
] | |
},{"formname":"Bloc2", "formtabs": | |
[ | |
{"caption":"Détail", "fields": [ |
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
{"id:NOT IN":[12,13,14,15]} | |
{"id:IN":[12,13,14,15]} |
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 firstCombo = new Ext.form.ComboBox({ | |
store: store_combo_1, | |
typeAhead: true, | |
forceSelection: true, | |
triggerAction: 'all', | |
emptyText:'Select a state...', | |
selectOnFocus:true, | |
id:'combo1' | |
}); |
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
[[~[[*id]]? &scheme=`full`]] |
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
[[+idx:mod=`5`:default=`class="test5"`]] |
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 | |
// First fetch all the children of the current resource | |
$children = $modx->resource->getMany('Children'); | |
// Check if there are any. If not, return false | |
if (!$children) { return false; } | |
// Check if there is a tpl set, if not return an error | |
$tpl = $modx->getOption('tpl',$scriptProperties,''); | |
if (!$tpl) { return 'No template given.'; } | |
// Start the output |
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 | |
/* UserGroups snippet*/ | |
$user =& $modx->user; | |
if ($user->isMember('membres') { | |
$output = $modx->getChunk('membres'); | |
} elseif ($user->isMember('administrateurs') { | |
$output = $modx->getChunk('administrateurs'); | |
} elseif ($user->isMember('employés') { | |
$output = $modx->getChunk('employés'); |
NewerOlder