Page 1 of 2
Override Template does not work
Posted: Fri Nov 18, 2022 11:05 am
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
Re: Override Template does not work
Posted: Fri Nov 18, 2022 12:23 pm
by ecartz
Do you have the override template selected in admin > Configuration > My Store?
Re: Override Template does not work
Posted: Fri Nov 18, 2022 12:44 pm
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.
Re: Override Template does not work
Posted: Fri Nov 18, 2022 2:45 pm
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
Re: Override Template does not work
Posted: Sat Nov 19, 2022 5:12 am
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
Re: Override Template does not work
Posted: Sat Nov 19, 2022 7:52 am
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.
Re: Override Template does not work
Posted: Sun Nov 20, 2022 4:23 am
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
Re: Override Template does not work
Posted: Sun Nov 20, 2022 4:42 am
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
Re: Override Template does not work
Posted: Sun Nov 20, 2022 5:58 am
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
Re: Override Template does not work
Posted: Sun Nov 20, 2022 6:14 am
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.