I write article for Joomla! and TZ Portfolio
1 minute reading time (228 words)
A Beginners Guide to Addon Overrides
Here's the Charity Addon we're going to modify in this example. We're going to change style of Charity in the article view.
- Login to your site's files and browser to the /components/com_tz_portfolio_plus folder.
- Look for the /addons/ folder.
- Addon-type of Charity is Content, so you look for the /content/ folder
- You will see /charity/ folder
- Inside the /charity/ folder, you'll hopefully find a /views/ folder. If there isn't, your addon won't support overrides.
- Inside the /views/ folder, you may find several subfolders. Normally each one is logically named, according to the part of the component that they modify.
- Look inside these folders and the /tmpl/ folders they contain . Look for the layout file you want to alter. In our example, the file is /article/tmpl/default.php.
- Browse to your /templates/ folder.
- Open the folder for your current template. In this example, our template is /tz_stchrist/.
- Open the /html/ folder.
- Inside the /html/ folder, create a new folder with the name is com_tz_portfolio_plus.
- Create a subfolder inside /com_tz_portfolio_plus/, matching the subfolder of the original component. In this case, that's /article/.
- Create a subfolder inside /article/, match with structure "plg_[addon_type]_[addon_name]". In this case, that's /plg_content_charity/.
- Upload the layout file to this new folder.
- You can now edit the layout file. In this example, I add bootstrap style and change background-color to orange.
- Save the file and your change will be visible:
21 December 2020
Christmas is here, the most awaited festival of the year. I guess that you're quite busy with preparing the Christmas tree and decorating your house but don't forget to lighten your website as well. On this ultimate festive e...
26 November 2020
This November comes with the most expected shopping day that everyone is looking forward to grabbing the best deals. It's Black Friday. If you missed the previous Halloween sale, don't worry. Black Friday will save your life. On this occasion, TZ Por...
22 November 2020
Why do you need an online gallery? 1. For photographers, owning a website is a necessary way to showcase their best photography portfolio to the entire world. Then you can easily promote your brand to a larger amount of clients. An online galler...
24 October 2020
Happy Halloween!Halloween is coming into the air. We would like to celebrate this event by giving a special offer, so you can get a discount of up to 65% for any purchase. Wow! that's so amazing, right? This offer won't last long, just fro...
03 August 2020
After the release of Keira style, Maya is the next awesome style you should give it a shot if you're looking for a solution to enhance the image gallery. You're working as a photographer, blogger, a stylist, fashionista, or an artist, and ...
TZPortfolio+2.1.6 Keira protectcontent add-ons Saleoff Joomla3.9.4 Amuda Jollyany domainregister Joomlatemplates TZPortfolio WebsitePortfolio TemPlaza Carousel Easter2019 lunarnewyear2019 Addons New features Elegant multilevelfilter SingleArticle TreeFilter JDCoax Joomla4 Joomla collaboration stayhome InstallationWizard Sass Astroid TetHoliday ArtGallery blackfriday join our club tzportfolio+articles TZPortfolio2.1.5 imagegallery Responsive Profiler Update 30% OFF gridgallery Cybermonday freetemplates Survey Masonry Colors TZ Portfolio Plus CustomerSupport Partners flexslider FlipBookGallery Flipbook Templates JDAgency charity add-on Activation Dino halloween V2.1.0 Search XMas JSN WeddingGallery Fixes TZ Portfolio+ 2.1.1 comment add-on Bootstrap3 Article TZPortfolio+ add-ons Jcontent TZ Portfolio+ 2.1.2 Besley style Portfolio templates Oraz template extension Mayastyle Password PortfolioStyles memberships Music Gaia portfolioextension TZPortfolio+2.1.9 TZPortfolio+2.2.8 Joomdev Photography LunarNewYear Christmas Styles megadiscount TZPortfolio+Pro googlefont freelicense extrafields jdnewyork ArticleLimit Extensions Override Portfolio Joomla templates Bug-fixes COVID19 Photographer JQuery ArumStyle add-ons.TZ Portfolio users TZPortfolio+2.1.4 JDParis slider Portfolio Zalta vani free template overrides TZPortfolio+2.2.1 Elegantstyle Festival color addon TZFlexGrid Happynewyear font Events TZPortfolio+2.1.7 discount BootstrapLibrary Folio template Migration fundraising Selena Improvements personallicense K 2 migration One-Click Install updates JDSalon customlinks License Installation joomlatemplate Birthday Free JD Gurukul personalbundle Tutorials Joomla3.x TZ Portfolio Besley Creative Bootstrap4 Joomla Template K2 Reyla collection Christmas 2018 Joomla template Salon Joomla Content TZPortfolio+2.2.0 eastersale TokenKey freetemplate 100%discount supportcampaign Bug-fix freeversion AdvancedSearch TZ Portfolio Plus Pro Folio consulta PortfolioDesign selena template JSN Agency CSSFramework tzportfolio+carousel music add-on Joomlaextensions CSS3 Template Styles CharityAddon InfiniteCarousel Joomla 4 Grid Gallery charity lightbox Joomla3.9 Christ