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
Wednesday, 18 September 2019
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 JoomlaShine templates.
Buy our bundle and get 20% OFF from their template and extension.

Latest Posts

17 September 2019
We're so pleased to announce that TZ Portfolio+ 2.3.1 is ready. This release comes with improvements, updates, new features, and addresses some well-known issues. Thanks to the reflection of users who gave us right feedback about previous versio...
16 September 2019
Hi folks, Today, I'm so happy to share with you a simple way to achieve an advanced search like our demo making use of TZ Portfolio+ extra-fields. Advanced search will help your visitors to sort specific articles containing one of the selected&n...
15 September 2019
Dear all TZ Portfolio lovers, TemPlaza have been through a long journey in developing not only premium WordPress Themes and Joomla Templates, but powerful extensions like TZ Portfolio+. Thanks to the great base of TemPlaza, TZ Portfolio+ has bee...
04 September 2019
Today, TZ Portfolio team would like to introduce you a new release of a brand-new Joomla template which works perfectly with TZ Portfolio+. It's called JD Salon designed and developed by our partner JoomDev. JD Salon is a specialized Joomla Template ...
20 August 2019
Hi folks, Our team are so pleased to announce that we have recently released a brand-new module named TZ Flex Grid 1.0.0. This module provides a set of different properties that is represented in flexible and stunning styles. Today, I would like...

Tag Cloud

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