A very basic starter template with fundamental HTML5 markup -- only the basics.
Based on HTML5 Bones | http://html5bones.com
<?php | |
// evoSystemInfo 1.3 | |
// Snippet displaying EVO system info and some actions on the frontend. | |
// Call it uncached [!evoSystemInfo!] before </body> tag in your template. | |
// Dark theme: [!evoSystemInfo? &theme=`dark`!] (EVO 1.4.4 or later required) | |
// author: Piotr Matysiak webready.pl | |
if ( isset($_SESSION['mgrValidated']) ) { | |
$docId = $modx->documentIdentifier; | |
$docTemplateId = $modx->documentObject['template']; |
<?php | |
/* | |
getTVLabel snippet for modx 2.3 | |
Version: | |
------------------ | |
v0.0.1 (2015-03-06 16:44) | |
Author: | |
------------------ |
<?php | |
// Type: Snippet | |
$recipient = $hook->getValue('reason'); | |
if($recipient == 'one'){ | |
$email = ''; | |
} | |
elseif($recipient == 'two'){ | |
$email = ''; | |
} |
A very basic starter template with fundamental HTML5 markup -- only the basics.
Based on HTML5 Bones | http://html5bones.com
This gist assumes:
<?php | |
// Disables tooltips globally. | |
// | |
// Create a new plugin and add the following system event: OnManagerPageInit | |
// | |
// © 2010 Mark Hamstra <[email protected]> | |
// Buy me a beer? Paypal hamstra.mark at gmail.com. | |
// | |
// Licensed under the MIT license |
<?php | |
/** | |
* | |
* @license MIT License | |
* | |
*/ | |
// om 't script wat tijd te geven | |
ini_set("memory_limit","320M"); | |
ini_set("max_execution_time", 240); |