Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1356

Administration Joomla! 5.x • Re: How can I add a version number to child template css?

$
0
0
Actually, I quoted the incorrect code above:

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');
For the child template, I tried this:

Code:

$version = filemtime(JPATH_THEMES . 'media/templates/site/cassiopeia_[childtemplate]/css/user.css');
But that doesn't work, either.

Statistics: Posted by GillianBPP — Fri Jun 07, 2024 3:50 pm



Viewing all articles
Browse latest Browse all 1356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>