{"id":486,"date":"2011-06-24T10:19:13","date_gmt":"2011-06-24T00:19:13","guid":{"rendered":"http:\/\/howden.net.au\/thowden\/?p=486"},"modified":"2011-06-24T10:19:13","modified_gmt":"2011-06-24T00:19:13","slug":"more-bts-and-oscmax-controlling-templates","status":"publish","type":"post","link":"https:\/\/howden.net.au\/thowden\/2011\/06\/more-bts-and-oscmax-controlling-templates\/","title":{"rendered":"Documentation on how to use Templates in osCmax"},"content":{"rendered":"<p>The previous post on BTS in osCmax consisted of running notes as I worked. Having done all of that I realised that I was mis-directed in what I was doing.<\/p>\n<p>Applying all the changes to the main_page.html and it&#8217;s siblings I found that this applied it to every page in the site. Hmm, not the desired result. So I&#8217;ve delved further and read further and while I am still not clear there are several posts that help, if you put them all together.<\/p>\n<p>In the <a title=\"Basic Template System for osCmax\" href=\"http:\/\/wiki.oscdox.com\/v2.5\/bts_docs\" target=\"_blank\">osCmax Wiki the current 2.5 BTS documentation<\/a> provides general information.<\/p>\n<p>The first reference in the osCmax forums is this<a title=\"Converting osCommerce template to osCmax\" href=\"http:\/\/www.oscmax.com\/forums\/oscmax-v2-features-discussion\/14626-bts-template-tutorial-examples-converting-oscommerce-template-bts.html\" target=\"_blank\"> lengthy tutorial <\/a>on modifying a osCommerce style template to suit. It probably still applies or adds knowledge but it is getting a bit dated.<\/p>\n<p>I&#8217;ll add other links here as I find them.<\/p>\n<p>Searching for free or even retail osCmax templates appears to generate few results with almost none available, or at least I ain&#8217;t found them. Sites proclaiming to have them return blank results when searching or checking the osCmax category. So I need to be able to roll-my-own.<\/p>\n<p>My <a title=\"Running notes on modifying templates in osCmax\" href=\"oscmax-templates-bts-process\">first blog entry on Modifying Templates in osCmax<\/a> was a helpful learning exercise for me albeit misguided and I&#8217;ve used that as the kick-off for the next steps which is to ensure that I can control all pages in the site with minimal coding edits (i.e. I don&#8217;t want to modify the core product if I can avoid it.) and using the database entries and template process as much as possible.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The previous post on BTS in osCmax consisted of running notes as I worked. Having done all of that I realised that I was mis-directed in what I was doing. Applying all the changes to the main_page.html and it&#8217;s siblings I found that this applied it to every page in the site. Hmm, not the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,21],"tags":[],"class_list":["post-486","post","type-post","status-publish","format-standard","hentry","category-oscommerce-oscmax","category-web-sites"],"_links":{"self":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/486","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/comments?post=486"}],"version-history":[{"count":0,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/486\/revisions"}],"wp:attachment":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/media?parent=486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/categories?post=486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/tags?post=486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}