pyrocms/pyrocms — pull request #1885 by AkibaTech (2012-09-20 09:40:38+00:00)
Title: Overloading widgets display.php from theme

I've just tested this functionnality on fresh install.
Tested on 2.1.4. No benchmarks done. And finally, I've no idea if this
functionnality has been integrated by an optimal way.

Overload your widget by placing a copy of the concerned display.php
file in a "widgets" folder in your current theme "views" folder. And
rename display.php by the widget name.

Ex for overloading "blog_categories" widget.
Copy "modules > blog > widgets > blog_categories > views > display.php"
in " > views > widgets".
Rename it in "blog_categories.php". Enjoy!