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
/* this will override the redactor font-family declaration regarldess order */ | |
body { /* add specificity */ | |
.redactor-link-tooltip, | |
.redactor-link-tooltip a { | |
font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important; /* your other font here */ | |
} | |
} |
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
<h1>modmore rules!</h1> |
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
<div class="vanity"> | |
<div class="focus"> | |
<h2>Hello World</h2> | |
</div> | |
</div> |
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 | |
// patches https://github.com/modxcms/revolution/issues/11291 for Redactor 1.4.3 and MODX 2.2.15 - 2.3.1 | |
$this->patch_11291 = | |
(bool)((bool)$this->modx->getOption('redactor.patch_11291', null, false) | |
&& version_compare('2.2.15-pl',$vd['full_version'],'<=') | |
&& version_compare('2.3.1-pl',$vd['full_version'],'>=')) | |
; |
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]]`]] |
OlderNewer