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:
22 March 2022
Presenting a healthy and professional website is one of the ways to show the crowd your credibility on your business. As a result, your website should be up-to-date, so as to be in the line with current web trends. Here today we come with another upd...
11 February 2022
Hi folks, Today I'm happy to inform you that a new version 2.5.5 of TZ Portfolio+ component is already available for download. This version was made to address a critical issue detected in the previous version. In particular, users were unable ...
25 January 2022
Happy the year of the tiger 2022! Lunar New Year is celebrated yearly in Vietnam according to the lunar calendar and this time is the year of the tiger among 12 zodiac animals. On this occasion, we would like to offer you a special deal. Yo...
26 October 2021
Looking for Halloween Joomla deals? Here is one of the spookiest deals for Joomla extensions that you should certainly take into account. Halloween is near. We are offering all subscription plans of TZ Portfolio+ for just $29 for the&n...
19 October 2021
Hi folks, As you know, Joomla 4 Stable was officially released, which brought users an improvement in functionality, codebase, and a completely new admin interface. That's why we need to provide updates for our product. Today I would like ...
Portfolio templates portfolioextension JSN Joomla Template CustomerSupport PortfolioStyles personalbundle TetHoliday Fixes halloween Flipbook InfiniteCarousel Joomla3.9 memberships PHP7.4 Search WeddingGallery customlinks CSSFramework Joomdev Sass Improvements ArtGallery Joomlaextensions TZPortfolio lightbox tzportfolio+carousel K2 Security Christmas 2018 Jollyany Saleoff overrides Cybermonday Videocontent Gaia TZFlexGrid BootstrapLibrary Portfolio License freetemplates personallicense Template Styles PortfolioDesign Activation Tutorials SingleArticle megadiscount selena template TZ Portfolio Plus consulta Oraz template free template TZ Portfolio+ 2.1.1 Joomla Content freeversion Elegantstyle imagegallery WebsitePortfolio RealEstate CharityAddon OpenSource TZPortfolio+ extrafields TemPlaza Joomlaextension Joomla template Portfolio Joomla templates WordPress Extensions eastersale discount JD Gurukul Free laborday lunarnewyear2019 TZPortfolio+2.2.8 JDAgency Birthday New features TZ Portfolio supportcampaign Layout Builder JSN Agency blackfriday comment add-on Bootstrap4 Goldena Joomlatemplates domainregister Masonry Festival Happynewyear Carousel Joomla3.9.4 TZPortfolio+2.1.4 TZPortfolio+2.1.7 ArticleLimit charity add-on Templates gridgallery music add-on freetemplate One-Click Install Joomla 4 Photographer vani protectcontent Bootstrap3 Selena add-ons font Gallerycontent Easter2019 JQuery Besley style Update labourday JDSalon fundraising Folio template 100%discount Bug-fixes JDArchi Pricing collaboration multilevelfilter Astroid color addon joomlatemplate TZPortfolio+2.2.0 tzportfolio+articles Elegant Dino JDCoax InstallationWizard Partners Free Extension V2.1.0 TZPortfolio+2.1.6 Besley Bug-fix join our club COVID19 freelicense Amuda Article K 2 migration FlipBookGallery extension Migration TZPortfolio+2.1.9 stayhome updates TokenKey Styles 30% OFF Reyla TZPortfolio2.1.5 Creative Joomla3.x Music collection Password Override Joomla Grid Gallery Featurebox Folio LunarNewYear add-ons Jcontent googlefont XMas Keira Photography add-ons.TZ Portfolio users CSS3 Joomla4 TZPortfolio+Pro Events jdnewyork JDParis Zalta TZPortfolio+2.2.1 Button Add-on charity Installation ArumStyle Christmas Christ Responsive joomla3.10.x Mayastyle flexslider Contentaddon TZ Portfolio Plus Pro AdvancedSearch Salon LeaderPrice Profiler slider TreeFilter Survey TZ Portfolio+ 2.1.2 Addons Colors