Opencart product.tpl not updating - php

I really hope someone is able to help as I'm totally losing my mind on this one.
I'm using Opencart Version 2.0.1.0 and for the life of me I can't work out why changes I'm making to theme/xxx/template/product/product.tpl is not updating on the live site.
I haven't edited that template in a couple of weeks so not sure if the issue originated today or some time before. All other templates seem to be updating correctly when being edited... just not this one.
Does anyone have any idea why this might be so? I've deleted the cache in both system/cache and also vqmod/vqcache.
Any help is really appreciated. I've wasted the whole day trying to work this out :(

go in modifications and click refresh,after restart page

Put code in this file home2/faucetan/public_html/vqmod/vqcache/vq2system_storage_modification_catalog_view_theme_default_template_product_product.tpl
and also here product.tpl so you see result

Related

Embed PHP in a Mediawiki page

I have been googling this for the best part of yesterday without any joy, so I'm here for the last hope for an answer before I give up!
Can anyone tell me if it's possible to embed a .php page in a MediaWiki page?
I was hoping for an extension of some sort or some other type of solution - I did see a post her somewhere during my search that suggested using a hook to make an extension - but I have absolutely no idea where to even start!
Essentially the problem I'm trying to solve is that I have a .php script that spits out the results of a couple of array queries, and I would like to present this directly on a MediaWiki page. I'm not bothered how, in an inline frame I assume..
Has anyone tried anything this and made it work?
Any pointers would be very much appreciated.
Thanks
OK, as I suspected - as soon as I asked this question, I would find the answer!!
So here it is..
You need this extension:
https://www.mediawiki.org/wiki/Extension:IframePage
After a little fettling I was able to embed a PHP script inside an inline frame on any WikiMedia page I wanted. Genius!
Thanks to everyone who took a look, and I hope this will help someone else!
Cheers!

<p>+++ TEXT +++</p> in CMS

I'm having a bit of a weird problem. The CMS of our website was developed about 4 years ago, but the person who made it is no longer working for our company so I'm left with the management of it. So far, so good since the CMS works just fine for normal content managing. However we also happen to have a small webshop on our site and the prices and some text needs to be changed. I found the prices were listed in a MySQL table and was able to change them. However, the only text on the page is:
<h2>Zand / Grind bestellen</h2>
<p>+++grondstof:bestellen_deel1+++</p>
But the page you see as a visitor clearly lists a few options and some text. I know it's difficult for anyone without access to say what's going on, but maybe the +++ indicate it's pointing to something? I have a feeling some PHP is involved since the person made pretty much everything with it.
Despite it being far fetched I hope someone can give me some ideas on what's happening here.
I found the code that checks this on the FTP server, as it turns out it's currently not possible to manage this through the CMS.
Thanks to everyone for thinking along!

Why is the Comments Plugin shifting to the right?

All of sudden today the comments plugin is out of its inteneded position, and it has shifted to the right thus creating inconvience. How do i fix it?
I have already tried updating to the latest code or whatever you wana call it.
Please help, how is the problem gone be fixed.
example url is http://apne.tv/episodes/episodes/181/Diya-Aur-Baati-Hum.html
Had the same problem. Added this to my page/site CSS:
.fb_iframe_widget iframe {position:relative; left:0px;}
Seems to solve my problem. I think the issue seems to has resolved itself though.

Wordpress format issues - archives and spacing

So hopefully you guys can help me solve this riddle as I am lost at how to fix this issue.
A couple months ago we updated our website and our blog, in doing so I copied over the database and all the old posts. However, for some reason posts older than 2+ years are having format issues. Instead of spacing correctly, the entire blog is bunched up. You can see an example below.
Example
Now looking at the post I can see that there is no html to signify paragraph breaks and it generally looks like a text document with only a couple tags in there. I have been going through by hand on these posts adding tags and the correct tags where necessary, obviously this is EXTREMELY time consuming and as there are years of old blogs that need to eventually be updated, I was looking for a way to simplify this issue.
My theory, is that there was some wordpress plugin in place on the old site (I did not manage this) that fixed the format issues and displayed the posts correctly, however somewhere down the road it got fouled up.
Does anyone have a suggestion on how to fix or maybe even speed up this process?
Thank you!
Well after a few more hours of tinkering and research I think I found a way to make the process faster. I still have to edit some of the posts manually, but at least now it appears I don't have to add those <br> tags back in.
Here is the resource I found. PS Disable Auto Formatting
And here is what I did to speed up the process. I should note it is a good idea to backup your Wordpress Database for doing this!
Download the plugin and install it.
Activate the plugin
Go the plugin option screen and UNCHECK the box titled "content formatting" basically enabling it
Go down to the batch formatting and select the date from which the older posts started and check "Allow batch formatting"
Click Batch Formatting and the plugin will format your older posts putting in <br> tags where appropriate and spacing where appropriate.
Browse to one of the edited posts and you will see it looks all jumbled and strange, thats fine dont worry!
Now head to your plugins page and DEACTIVATE the plugin. Go back to one of your posts after the plugin has been deactivated and you will see that the post is now formatted correctly!
Make any additional edits to the post(s) and hit update, and your older posts should now be fixed again.
This solution isn't perfect but it will save me time in the long run.
Thanks and good luck.

sifr not working in browsers, but can see it in dreamweaver preview

this is my first time trying to use sifr, so pleave be gentle and forget my noobness :).
ive been having some problems getting sifr to work... when finally it looked like it did (the dreamweaver preview saw the font change), no browser can see it...
http://www.creatica.ro/in2itivetest/index.html
this is the site im working on.
thank you in advance for helping.
One of your javascript includes is returned as a 404, meaning you're referring to a non-existing file (js-file) from your HTML document.
http://www.creatica.ro/Scripts/swfobject_modified.js is the path of the missing file. Would make sense for that to screw up something to do with flash I reckon :)
Check where the file actually is and move it or change the URL to reflect the correct path.
PS: Nice site by the way. Even though I found the top menu slightly annoying.. (the hover effect feels over the top and sluggish)

Categories