In RD-Subscriptions, we're using layouts often, this way we have small pieces of code that easy to maintain, and even better to make an override for it. When searching the internet you don't find that mucht about overrides. So let's explain how it works. As you can see below we checked out the layouts folder in the frontend of the component by FTP.
Navigate to the next folder:
Now we have changed "product_list_item.php" for example. But on updates you don't want to do this again and again and again. So we're going to override the layout.
- Navigate to your template folder:
[website-root]/templates/your_template/- Create the override folder:
/html/layouts/com_rdsubs/- It will look like this:
[website-root]/templates/your_template/html/layouts/com_rdsubs/- Now place the file above in it!