-
- 5,888 Posts
great! Then this should work too:
<link href="assets/css/style.css?[[!getFilemtime? &filename=`assets/css/style.css`]]" rel="stylesheet" type="text/css">
the snippet getFilemtime could look like that:
$filename = $modx->getOption('filename',$scriptProperties,'');
return filemtime($modx->getOption('base_path' . $filename));
-
- 1 Posts
Thank you Su for asking this. I was having the darndest time figuring out why things were not working on MODx that did work on Dreamweaver, and it was just taking time to update.
-
- 56 Posts
Hi Paul
But I must stress it only started happening a few days ago, before than the css updated instantly. I can only think that something is different in the latest version of MODX or my hosting company altered something.