Jump to content

[Solved] I can't change the tpl file of module...


tatamimi

Recommended Posts

Hello!

I want to make small change of the HTML in the block of module.
(for example, delete "

" tag )

I changed the ".tpl" file of the module and update.
And after that, I tried reflesh the web-site but it doesn't change....
I verify the source of tpl file, il was changed.

Is this the problem of cash or database?
I can't understand....

If someone know good solution, please tell me!

Thanks.
Link to comment
Share on other sites

First try to turn on "force compile". it forces smarty to recompile prestashop at every page load (you can find ths option in performance tab).
If that doesn' solve your problem, try to manually erase the content of Tools/smarty/compile folder.

Hope this helps :)

Link to comment
Share on other sites

Thank you for give me responses so quickly!


>gonandriy

I use the version 1.4.1.0.
I copied the default theme and renamed, and selected new theme,
and I changed a little of .tpl and uploaded.


>Nemo1

I tried to use "Force compile" but after I selected "Yes" to use that,
The shop-page turned into all white screen and don't move...

Link to comment
Share on other sites

Thank you so much again for your advices.
I solved the problem!!! It was the problem of encoding...

I use PRESTASHOP in japan, and I use the software (editer) "mi" and "FETCH(FTP software)" for upload.
I found that when I edited (make change) in the source of .tpl by editer and upload,
the type of code (type of character?) will be changed automatically.
I save the code in UTF-8 but when I upload that, the type of file is changed. and code character is also changed...
So when I tried to use “force compile” after that, it didn't work (and turn into white screen...)

I tried to make change the source directly at the software of FTP and use “force compile” , It works!!!


Thank you for a lot! You always gave me a lot of hints.

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