{"id":168,"date":"2012-02-11T17:50:11","date_gmt":"2012-02-11T21:50:11","guid":{"rendered":"http:\/\/www.rumfordhills.com\/?p=168"},"modified":"2012-02-12T21:13:23","modified_gmt":"2012-02-13T01:13:23","slug":"first-opencart-vqmode","status":"publish","type":"post","link":"https:\/\/www.rumfordhills.com\/?p=168","title":{"rendered":"First OpenCart vQmod"},"content":{"rendered":"<p>Coming back to my OpenCart project, I decided I wanted a way to preserve the changes I&#8217;d made to the code across upgrades and patches. Fortunantly the OpenCart community has a tool for that. <a href=\"http:\/\/code.google.com\/p\/vqmod\/\" target=\"_blank\">vQmod<\/a> is a preprocessor that modifies the base PHP files.\u00a0 The basic idea is that you make an xml file that contains your edits.<\/p>\n<p>After spending a few hours getting it to remove the unwanted returns feature, I&#8217;ve decided that it works but it might have been quicker to just write a simple script to make the changes.<\/p>\n<p>The biggest problem is that my xml editors seem to want to mangle the text.\u00a0 Replacing a &#8220;&lt;&#8221; with &amp;lt; is really unnecessary!<\/p>\n<p>But it does open up the possibility of selling the mod&#8217;s if there&#8217;s enough people who would want them.\u00a0 (I think I&#8217;ve been around my son too long, everything seems to have a monetization angle now!)<\/p>\n<p>Once I get a few done, I&#8217;ll start posting them.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Coming back to my OpenCart project, I decided I wanted a way to preserve the changes I&#8217;d made to the code across upgrades and patches. Fortunantly the OpenCart community has a tool for that. vQmod is a preprocessor that modifies &hellip; <a href=\"https:\/\/www.rumfordhills.com\/?p=168\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[23,21,22,13],"class_list":["post-168","post","type-post","status-publish","format-standard","hentry","category-projects","tag-opencart","tag-programming","tag-projects-2","tag-small-business"],"geo":null,"_links":{"self":[{"href":"https:\/\/www.rumfordhills.com\/index.php?rest_route=\/wp\/v2\/posts\/168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rumfordhills.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rumfordhills.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rumfordhills.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rumfordhills.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=168"}],"version-history":[{"count":5,"href":"https:\/\/www.rumfordhills.com\/index.php?rest_route=\/wp\/v2\/posts\/168\/revisions"}],"predecessor-version":[{"id":171,"href":"https:\/\/www.rumfordhills.com\/index.php?rest_route=\/wp\/v2\/posts\/168\/revisions\/171"}],"wp:attachment":[{"href":"https:\/\/www.rumfordhills.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rumfordhills.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rumfordhills.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}