Actually, I quoted the incorrect code above:
The actual code I use in a custom template for to add file versions is this:For the child template, I tried this: But that doesn't work, either.
The actual code I use in a custom template for to add file versions is this:
Code:
$version = filemtime(JPATH_THEMES . '/' . $this->template . '/css/template.css');
Code:
$version = filemtime(JPATH_THEMES . 'media/templates/site/cassiopeia_[childtemplate]/css/user.css');
Statistics: Posted by GillianBPP — Fri Jun 07, 2024 3:50 pm