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:
Related Posts
By accepting you will be accessing a service provided by a third-party external to https://www.tzportfolio.com/
Search Blogs
Latest Posts
07 March 2023
Today I'm so pleased to announce that we have recently released 2 brand-new add-ons of TZ Portfolio+ extension, they are Pricing Content and Form Builder. There is no need to have coding skills to get familiar with these 2 addons, because they a...
25 February 2023
Hi folks, here is good news. We have recently released a new version of TZ Portfolio+ component to address some known issues encountered from the previous release and provide important improvements. Let's take a brief look at what is included in this...
09 December 2022
Hi guys, Today, I'm so pleased to introduce a new addon - Progress Bar which allows you to create progress bars (as its name says) to showcase important stats in a flexible way. Utilizing progress bar is a good way for your visitors to know more abou...
03 November 2022
Hi folks, We're so pleased to announce a new version of TZ Portfolio+ is already available now. Version 2.6.2 was released to address some minor bugs which are well-known in previous versions. Let's see what was fixed in this version. TZ P...
26 October 2022
Halloween 2022 is just around the corner. All the witches are talking about this sale. So trick or treat? On this occasion, no trick at all, treat yourself with the special deal offered by TemPlaza. Offer Details: 65% Discount On All Packa...
Tag Cloud
AdvancedSearch
supportcampaign
add-ons
color addon
K 2 migration
joomlatemplate
Bug-fix
ArumStyle
30% OFF
Improvements
domainregister
TZPortfolio+Pro
CSSFramework
portfolioextension
Pricing
lightbox
Elegantstyle
free template
Profiler
WordPress
Password
Joomla3.9.4
discount
JDSalon
TZ Portfolio Plus
CustomerSupport
Colors
selena template
Videocontent
customlinks
Photography
Extensions
Responsive
Gaia
Tutorials
progressbar
Astroid
megadiscount
BootstrapLibrary
Joomla3.x
Security
TokenKey
ArticleLimit
PHP7.4
Photographer
Amuda
comment add-on
Christmas
Addons
TZPortfolio
protectcontent
music add-on
JD Gurukul
COVID19
Portfolio templates
join our club
charity
Easter2019
tzportfolio+carousel
Bootstrap3
One-Click Install
Article
extension
Joomla template
Bootstrap4
Fixes
personalbundle
Featurebox
TetHoliday
FlipBookGallery
Creative
extrafields
Keira
Christ
consulta
Jollyany
InfiniteCarousel
TZPortfolio+2.1.6
JDCoax
Survey
TZPortfolio+
100%discount
freetemplate
Dino
Elegant
Joomdev
TreeFilter
lunarnewyear2019
add-ons.TZ Portfolio users
multilevelfilter
blackfriday
TZPortfolio+2.2.1
Joomlatemplates
CharityAddon
Festival
Folio template
personallicense
Layout Builder
slider
TZ Portfolio
Installation
Cybermonday
Templates
TZ Portfolio+ 2.1.1
TZFlexGrid
flexslider
Joomla3.9
font
Joomla
Masonry
Besley style
Saleoff
LunarNewYear
WeddingGallery
TZPortfolio+2.2.0
TZ Portfolio+ 2.1.2
Joomla 4
JDParis
Birthday
OpenSource
License
TZPortfolio2.1.5
JSN
Migration
vani
JDArchi
Sass
Joomla Template
Template Styles
Joomla Content
freeversion
freetemplates
tzportfolio+articles
CSS3
collaboration
Activation
InstallationWizard
Button Add-on
Flipbook
Oraz template
googlefont
Besley
collection
TZPortfolio+2.1.9
joomla3.10.x
Free
Joomlaextensions
JDAgency
PortfolioDesign
Salon
RealEstate
stayhome
jdnewyork
TZPortfolio+2.1.4
SingleArticle
Update
updates
overrides
TemPlaza
TZPortfolio+2.2.8
Reyla
Events
V2.1.0
TZ Portfolio Plus Pro
add-ons Jcontent
Styles
K2
fundraising
imagegallery
Portfolio
Partners
WebsitePortfolio
labourday
Gallerycontent
Selena
Zalta
New features
Override
Christmas 2018
PortfolioStyles
JSN Agency
Carousel
JQuery
XMas
charity add-on
ArtGallery
LeaderPrice
Joomla4
eastersale
Joomlaextension
laborday
Folio
Bug-fixes
Contentaddon
halloween
Goldena
freelicense
Portfolio Joomla templates
gridgallery
Search
portfolioaddon
Happynewyear
Grid Gallery
TZPortfolio+2.1.7
memberships
Music
Free Extension
Mayastyle