Sonny Blog

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:
St. Christ - Free Church & Charity template for TZ...
Add-ons JContent & K2 migration have been released

Related Posts


Comments 1

Hedley Jackson on Tuesday, 11 December 2018 04:53

A beginner’s guide is expressed for the struggle and all available resorts for the products. The guidance is ensured for the movement of the for all issues. The change is done for the manufacturing of the elements for the students.

A beginner’s guide is expressed for the struggle and all available resorts for the products. The guidance is ensured for the movement of the for all issues. The change is done for the manufacturing of the elements for the students.
Already Registered? Login Here
Tuesday, 18 February 2020
If you'd like to register, please fill in the username, password and name fields.

Search Blogs

Our Partner’s Templates

TZ Portfolio is working perfectly with JoomDev templates.
Buy our bundle and get 15% OFF from their template and extension.

Latest Posts

07 February 2020
Hi guys, We're so happy to announce to you about a new release of a beautiful Joomla template for Festival and event website, called Eventory. If you're working in the Entertainment industry and looking for an elegant but functional template rel...
06 February 2020
​Hi, Today I would like to announce to you about a new release of TZ Portfolio+ 2.3.9 which includes some bug-fixes, and improvements. Fixing bugs is a regular task that is extremely important to maintain a good experien...
23 January 2020
Dear our beloved customers,Vietnamese Lunar New Year or Tet Nguyen Dan is just around the corner. This is the biggest holiday of the year. Please kindly notice TZ Portfolio's announcement about days off during this new year event.In particular, ...
31 December 2019
Hi guys, Today, I'm so pleased to introduce you a brand new item released - JD New York Multipurpose Joomla Template designed and developed by our partner JoomDev. JD New York is a modern, elegant, and versatile platform that can readily service all ...
21 December 2019
Hi guys, TZ Portfolio+ is an open source portfolio extension that has reached out thousands of users all over the world. It means the extension is supposed to be stable in multiple languages, so that users are able to enjoy it not only in a stan...

Tag Cloud

InstallationWizard music add-on Bug-fixes Bootstrap4 Reyla One-Click Install JDParis Christ Override TZPortfolio+2.1.4 Birthday WeddingGallery add-ons.TZ Portfolio users Zalta Salon add-ons Jcontent V2.1.0 JDSalon Responsive Amuda Bootstrap3 TZ Portfolio+ 2.1.1 Update Fixes Search New features ​ Profiler Portfolio TZ Portfolio+ 2.1.2 Selena InfiniteCarousel Grid Gallery Gaia TreeFilter TetHoliday CharityAddon freetemplates TZPortfolio+2.1.6 TZPortfolio discount Installation Oraz template join our club font Joomlatemplates tzportfolio+articles Extensions collection Styles charity add-on TZPortfolio+2.2.1 K 2 migration customlinks JDCoax Joomla3.9.4 vani TZPortfolio2.1.5 selena template Improvements ArumStyle TZPortfolio+2.2.8 TZPortfolio+ Elegantstyle Tutorials add-ons joomlatemplate Photography Joomla3.9 Photographer freeversion Free Carousel tzportfolio+carousel TZPortfolio+2.1.9 protectcontent Joomdev Partners Folio template Christmas 2018 Cybermonday overrides Dino Joomla Content Masonry Colors CSSFramework ArtGallery Activation Joomla template Joomla 4 comment add-on Elegant blackfriday Portfolio Joomla templates Folio TZ Portfolio TZFlexGrid Festival Templates ArticleLimit TZPortfolio+2.1.7 Events TZPortfolio+2.2.0 Joomla3.x PortfolioDesign free template SingleArticle LunarNewYear extrafields CustomerSupport TZ Portfolio Plus Pro TZ Portfolio Plus color addon Joomla AdvancedSearch Besley Password Bug-fix 30% OFF updates Flipbook Joomlaextensions Survey PortfolioStyles lunarnewyear2019 collaboration Portfolio templates XMas JQuery FlipBookGallery jdnewyork googlefont WebsitePortfolio Joomla4 Saleoff TZPortfolio+Pro TemPlaza Jollyany Christmas TokenKey JSN Agency Template Styles K2 Creative JSN CSS3 Sass memberships Easter2019 Joomla Template Addons gridgallery BootstrapLibrary Article Migration lightbox consulta multilevelfilter Besley style JD Gurukul Astroid License