VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: domifry on March 29, 2014, 17:48:56 PM

Title: change php files
Post by: domifry on March 29, 2014, 17:48:56 PM
Hello,

ich changed something in the vm php files like: select_payment and in the klarna plugin CSS and php file.
When i use it with my browser and other computers and browsers. Nothing changed. even if I rename something. Why it do not use the new files?
I use the "actualize cache" in the extension menu but also no reaction.
What can it be?
Title: Re: change php files
Post by: StefanSTS on March 30, 2014, 14:39:46 PM
Very often there are two files, that you can change, one is the core file, and the other one is an override in the template folder.
So if you have questions like that, it would be good to state the path and file name.

You might have changed a core file, and the override is still the same. Since the override takes precedence your changed core file has no effect.

But this is just a guess.

Stefan
Title: Re: change php files
Post by: domifry on March 30, 2014, 17:38:09 PM
Hello and thanks :)

I got a yagendoo template as well but there is no document like this. The file I changed is in:
components/com_virtuemart/views/cart/tmpl/select_payment.php

maybe not the right file? my yagendoo template use the normal virtuemart files and has no own as i know.
Title: Re: change php files
Post by: jenkinhill on March 30, 2014, 18:30:55 PM
Check if a [yourYagendootemplpate]/html/com_virtuemart/ directory exists. If it does then it will contain override files for VM