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
Edit the Scss to update CSS. |
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
Edit the Scss to update CSS. |
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
Edit the Scss to update CSS. |
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
Edit the Scss to update CSS. |
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
Edit the Scss to update CSS. |
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 | |
$defaultHitsCorePath = $modx->getOption('core_path').'components/hits/'; | |
$hitsCorePath = $modx->getOption('hits.core_path',null,$defaultHitsCorePath); | |
$hitService = $modx->getService('hits','Hits',$hitsCorePath.'model/hits/',$scriptProperties); | |
if (!($hitService instanceof Hits)) return 'failed'; | |
$s= ''; | |
// pass this into your snippet [[!getHitCount? &resource=`[[**id]]`]] |
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
cd /www/modx/ #your webroot | |
wget http://modx.s3.amazonaws.com/releases/2.3.2/modx-2.3.2-pl-advanced.zip | |
unzip modx-2.3.2-pl-advanced.zip | |
# you'll have a core and setup folder. hit the /setup in a web browser and complete the setup process |
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
// ---- | |
// libsass (v3.1.0) | |
// ---- | |
@import "bourbon/bourbon"; | |
.dashbox { | |
@include display(flex); // be a flex container | |
@include flex-direction(row); // lay children out horizontally | |
@include flex-wrap(wrap); // allow wrapping |
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
// ---- | |
// libsass (v3.1.0) | |
// ---- | |
$white:rgb(250,250,250); | |
.my-component { | |
background:lighten(purple,30%); | |
color:purple; | |
body.inverted & { // when in invert mode accommodate with high contrast |
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
// ---- | |
// libsass (v3.1.0) | |
// ---- | |
@import "bourbon/bourbon"; | |
@import "neat/neat"; | |
$mobile: max-width 640px 4; | |
p { |