My mod has some additions to the stats page, as you may well know the core theme has a completely different stats template page to the default theme so the code for adding in the extra stats does not work for this. In order to support core I will need to target the core theme specifically, I'm wondering if the following is the correct way to do this:
<file name="$boarddir/Themes/core/Stats.template.php" error="skip">
<operation>
<search position="after">
This seems to work fine but the caveat is that it is mandatory and not like the usual way where you tick to apply to core theme. Is there a better way of doing this?
Many thanks
not really, unfortunately I had same problem long ago with my first mod.
<file name="$themes_dir/core/Stats.template.php">
<operation>
<search position="after">
Quote from: live627 on February 09, 2015, 02:01:31 AM
<file name="$themes_dir/core/Stats.template.php">
<operation>
<search position="after">
Many thanks live627, it's an improvement on what I got so far.