Tuesday, 19 April 2022
  14 Replies
  1.6K Visits
0
Votes
Undo
  Subscribe
I need to use TZ Portfolio Plus Portfolio. I created a first override (System > Site Templates > Template > Create Overrides). Now in the html/mod_tz_portfolio_plus_portfolio folder there is the default.php.

I would like to create another override.

I repeated the procedure but you can no longer see the images of the articles :(
Hi, regarding this issue, you can refer to this tutorial: https://www.tzportfolio.com/blog/override-an-add-on-in-module.html
1 year ago
·
#2373
0
Votes
Undo
Unfortunately my english is not good ;-(

I want to know if I can create more overrides of the TZ Portfolio Plus Portfolio module.

default.php, default1.php, default2.php

It's possible?
Hi, yes, it's absolutely possible. Pls, Go ahead.
1 year ago
·
#2378
0
Votes
Undo
Override 1
ok.jpg
Attachments (1)
1 year ago
·
#2379
0
Votes
Undo
Override 2 :(
no.jpg
Attachments (1)
Hi, I'm not sure what you overrode in the module. Did you choose the same TZ Portfolio+ style or different styles?
Regarding the override, you're supposed to override not only the portfolio module but TZ Portfolio+ addons also.
1. Pls follow this folder path: components\com_tz_portfolio_plus\addons\[addon_group]\[addon_name]\modules\[module_name]. In this case, it's components\com_tz_portfolio_plus\addons\mediatype\image\modules\mod_tz_portfolio_plus_portfolio
Copy file default.php

2. Then browse to your /templates/ folder.
Open the folder for your current template. ex: our template is /tz_nish_ii​/
Open this folder (templates\tz_nish_ii\html\mod_tz_portfolio_plus_portfolio\plg_mediatype_image​) and paste file default.php​ here
Get started to modify your file

please see the attached images, I made with module tz portfolio+ articles
1 year ago
·
#2389
0
Votes
Undo
I would like to create different overrides in the same TZ Portfolio+
1 year ago
·
#2412
0
Votes
Undo
I would like to create different overrides in the same TZ Portfolio+
Hi,

You can send me an email to [email protected] and provide me with your site and login details, I will help you check the override.
1 year ago
·
#2414
0
Votes
Undo
Hi, thanks for the reply ;-)

I am working locally on XAMPP

As see from the attachment, it is clear to me how the override takes place. Everything works.

x-TZ.jpg

My question is: can I create a second override?
Attachments (1)
Hi, yes of course you can. You're supposed to follow the same steps as the first override. Let's give it a try.
1 year ago
·
#2417
0
Votes
Undo
How do I assign this second override to articles?

secondo.jpg
Attachments (1)
You should override image add-on in the module folder "html/mod_tz_portfolio_plus_portfolio" with file like module layout file.
Example: With the module's layout file is "html/mod_tz_portfolio_plus_portfolio/default1.php", the Image's add-on layout must have "html/mod_tz_portfolio_plus_portfolio/plg_mediatype_image/default1.php" file
1 year ago
·
#2439
0
Votes
Undo
All clear. It works. Thanks
  • Page :
  • 1
There are no replies made for this post yet.
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below.
Supported: gif,jpg,png,zip,rar
· Insert · Remove
  Upload Files (Maximum 2MB)

Sharing your current location while posting a new question allow viewers to identify the location you are located.