Template overrides
Template overrides allows a user of your module to customize the view to suit their needs. A template override basically tells your Joomla! site to load a file from your site templates folder, instead of wherever it is normally loading from, and it effectively overrides the original code with your own code. You end up with two copies of the file: the original file that you don't touch, and your new version of this file which is actually used by your site. This way you can make whatever customizations you like including adding new features, or removing or hiding the ones you don't want.
When customizing a module someone else has developed, it is much better to use a template override than to hack the code of the module, because ...
Get Learning Joomla! 3 Extension Development - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.