Jump to content

Cache problem - No changes after edit PHP file


Recommended Posts

Hi,

 

I'm editing a module called hcatmenu that came with a theme wich I bought. This module make a horizontal categories menu. I'm using PS 1.4.5.1.

 

I'm trying to edit this module to get a different behavior, but I'm stuck on this. I edited a PHP file (hcatmenu.php) from the module but I never see reflected this change on my store. But, when I change something from the TPL file it's worked.

 

I set Force Compile to No and Cache to No in the PS Panel, also I edited smarty.config.inc.php file and set complie_check to true (I read that this option is recommended), but nothing worked for me. I deleted /tools/smarty/compile files (excluding index.php) and nothing.

 

This module is located in /themes/my_theme/modules/ folder, I don't know if that is important. Finally I deleted ALL CONTENT of hcatmenu.php file expecting an error from Smarty or PS, but nothing. My store is still working good without this module controller file.

 

Please help!

Link to comment
Share on other sites

Problem solved.

 

Problem was: when I imported the theme, PS also imported modules to /modules folder. So I have htcmenu module in /modules and /themes/<theme name>/modules. I was editing PHP file from /themes/<theme name>/modules/htcmenu, but isn't that file. PS process PHP file from /modules/htcmenu and TPL files from /themes/<theme name>/modules/htcmenu. In first step PS only process modules from /modules folder, but this modules redirect the 'view' file (TPL) to /themes/<theme name>/modules/htcmenu.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...