Override Template does not work

Open to all! Ask other shopowners for help.
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

Post by radhavallabh »

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


Join The Code Co-op to get access to your library in the Code Co-op Forum
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

Post by ecartz »

Do you have the override template selected in admin > Configuration > My Store?
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

Post by radhavallabh »

ecartz wrote: Fri Nov 18, 2022 12:23 pm Do you have the override template selected in admin > Configuration > My Store?
Yes dear I do have that.
User avatar
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

Post by Pierre_P »

@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
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

Post by radhavallabh »

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
But dear even the content -> shopping cart tpl file in override is not being detected;
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

Post by ecartz »

radhavallabh wrote: Sat Nov 19, 2022 5:12 am But dear even the content -> shopping cart tpl file in override is not being detected;
Have you tried uninstalling and reinstalling that module in admin after selecting the correct page?

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

Post by radhavallabh »

ecartz wrote: Sat Nov 19, 2022 7:52 am
radhavallabh wrote: Sat Nov 19, 2022 5:12 am But dear even the content -> shopping cart tpl file in override is not being detected;
Have you tried uninstalling and reinstalling that module in admin after selecting the correct page?

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.
Hi dear;
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.
Screenshot 2022-11-20 at 09-52-34 Radha Krishna Spiritual Store Administration Tool.png
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

Post by ecartz »

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

Post by radhavallabh »

ecartz wrote: Sun Nov 20, 2022 4:42 am 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
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.
Screenshot 2022-11-20 at 11-26-57 Radha Krishna Spiritual Store Administration Tool.png
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

Post by ecartz »

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.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply