XF 2.1 Can't figure out why my xf:css tag is not being honored

cmpe

Active member
I have this enabled in config.php:
Code:
$config['development']['enabled'] = true;
$config['development']['defaultAddOn'] = 'cmpe/newtest';

And whenever I make changes to the files that are in _output/template/public/ dir, it gets updated in the template list in XF admin (and vice versa). However when I add a custom less or css file using the xf:css template tag, it does not get included.

Code:
<xf:css src="addon_extra.less" />

addon_extra.less file exists within _output/template/public/ and it's accounted for _metadata.json as well.

I'm clearly missing something as this worked fine for another addon I was working on.
 
Not surprisingly, pebkac.

Not sure how but I had two of the same templates, one in master style and another in a custom style. Once I deleted the template in custom style, changes in addon are taking effect.
 
Top Bottom