Override Template does not work
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
Override Template does not work
Hi dear;
Files from the override template do not seem to take effect except the css file.
For example
Ever since I updated to 1.0.8.19 the override template-> module->content->pi->tpl files do not reflect on the website it keeps rendering the original module files.
Any idea what is wrong?
As it did previously...
Help shall be deeply appreciated;
Thank you in advance
Warm Regds./
radhavallabh
Files from the override template do not seem to take effect except the css file.
For example
Ever since I updated to 1.0.8.19 the override template-> module->content->pi->tpl files do not reflect on the website it keeps rendering the original module files.
Any idea what is wrong?
As it did previously...
Help shall be deeply appreciated;
Thank you in advance
Warm Regds./
radhavallabh
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
- Pierre_P
- Contributor
- Posts: 144
- Joined: Fri Mar 12, 2021 5:06 am
- Phoenix Version: v1.1.0.6
- Has thanked: 21 times
- Been thanked: 11 times
Re: Override Template does not work
@radhavallabh
I had similar, most likely your solution
See viewtopic.php?p=11262#p11262
Under modules -> Layout
Uninstall the Pi modules you already installed
Then select the dropdown showing All Modules and select Products_Info and then install your product info modules.
Hth
I had similar, most likely your solution
See viewtopic.php?p=11262#p11262
Under modules -> Layout
Uninstall the Pi modules you already installed
Then select the dropdown showing All Modules and select Products_Info and then install your product info modules.
Hth
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
Re: Override Template does not work
But dear even the content -> shopping cart tpl file in override is not being detected;Pierre_P wrote: ↑Fri Nov 18, 2022 2:45 pm @radhavallabh
I had similar, most likely your solution
See viewtopic.php?p=11262#p11262
Under modules -> Layout
Uninstall the Pi modules you already installed
Then select the dropdown showing All Modules and select Products_Info and then install your product info modules.
Hth
So the issue seems somewhere else.
Pls dear @ecartz can you help me solve this issue;
Thank you in advance;
Very Warm Regds./
radhavallabh
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Override Template does not work
Have you tried uninstalling and reinstalling that module in admin after selecting the correct page?radhavallabh wrote: ↑Sat Nov 19, 2022 5:12 am But dear even the content -> shopping cart tpl file in override is not being detected;
I just tried making an override in a fresh install and the override worked. The content and layout modules operate differently from the other types in that they have subgroups. But they are similar to each other. So a solution that works for one might work for the other.
If you have a broken test store that exhibits the problem, you might try updating to 1.0.8.20 and seeing if that works. In particular:
https://github.com/CE-PhoenixCart/Phoen ... c6aa985994
https://github.com/CE-PhoenixCart/Phoen ... 5190801758
Changed the way those work to better handle when no page is selected.
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
Re: Override Template does not work
Hi dear;ecartz wrote: ↑Sat Nov 19, 2022 7:52 amHave you tried uninstalling and reinstalling that module in admin after selecting the correct page?radhavallabh wrote: ↑Sat Nov 19, 2022 5:12 am But dear even the content -> shopping cart tpl file in override is not being detected;
I just tried making an override in a fresh install and the override worked. The content and layout modules operate differently from the other types in that they have subgroups. But they are similar to each other. So a solution that works for one might work for the other.
If you have a broken test store that exhibits the problem, you might try updating to 1.0.8.20 and seeing if that works. In particular:
https://github.com/CE-PhoenixCart/Phoen ... c6aa985994
https://github.com/CE-PhoenixCart/Phoen ... 5190801758
Changed the way those work to better handle when no page is selected.
As suggested I uninstalled a module , after removal when I click install it still keeps showing edit / remove on the install page; So nnow not able to install it again. Pls can you help fix it...
Warm Regds./
radhavallabh
You do not have the required permissions to view the files attached to this post.
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Override Template does not work
I would try copying the current version of the files over what you have. For example, admin/modules.php, admin/includes/classes/cfg_modules.php, admin/includes/modules/cfg_modules/cfgm_content.php, admin/includes/actions/modules/infoboxes/default.php
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
Re: Override Template does not work
Hi dear;
I replaced all files;
Now install works correctly- But no menu appears beside the newly installed content modules although previously installed modules have the menu for edit displayed correctly. And yet override template does not seem to work...
Pls your help shall be deeply appreciated;
Warm Regds./
radhavallabh
You do not have the required permissions to view the files attached to this post.
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Override Template does not work
Go back and reapply the updates for 1.0.8.17 (from 1.0.8.16), 1.0.8.18, 1.0.8.19, and 1.0.8.20. In that order. You should not have to redo any of the SQL (if any), just the files. You are missing at least one change in those updates and possibly more than one.