{"id":519,"date":"2011-07-07T17:13:18","date_gmt":"2011-07-07T07:13:18","guid":{"rendered":"http:\/\/howden.net.au\/thowden\/?p=519"},"modified":"2011-07-07T17:13:18","modified_gmt":"2011-07-07T07:13:18","slug":"oscmax-changes-for-css-support","status":"publish","type":"post","link":"https:\/\/howden.net.au\/thowden\/2011\/07\/oscmax-changes-for-css-support\/","title":{"rendered":"oscMax changes for CSS support"},"content":{"rendered":"<p>A change log for oscMax 2.5 templates.<\/p>\n<p>\/includes\/configure_bts.php<\/p>\n<p>around line 105<\/p>\n<blockquote><p>\n\/\/ added option to check in the stylesheets directory as well as the template root.<br \/>\n    case &#8216;stylesheet&#8217;:<br \/>\n      \/\/ $path = DIR_WS_TEMPLATE_FILES . $filename;<br \/>\n      if (is_file(DIR_WS_TEMPLATES . $filename)) {<br \/>\n\t\t$path = DIR_WS_TEMPLATES . $filename;<br \/>\n\t  } elseif (is_file(DIR_WS_TEMPLATES . &#8216;stylesheets\/&#8217; . $filename)) {<br \/>\n\t\t$path = DIR_WS_TEMPLATES . &#8216;stylesheets\/&#8217;. $filename;<br \/>\n\t  } else {<br \/>\n        $path = DIR_WS_TEMPLATES_FALLBACK . $filename;<br \/>\n      }<br \/>\n    break;<\/p>\n<\/blockquote>\n<p>Doing this means that we can move all stylesheets into the<br \/>\n\/templates\/your_template_name\/stylesheets directory including the default stylesheet.css file<\/p>\n<p>Which helps, well, me I guess. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>A change log for oscMax 2.5 templates. \/includes\/configure_bts.php around line 105 \/\/ added option to check in the stylesheets directory as well as the template root. case &#8216;stylesheet&#8217;: \/\/ $path = DIR_WS_TEMPLATE_FILES . $filename; if (is_file(DIR_WS_TEMPLATES . $filename)) { $path = DIR_WS_TEMPLATES . $filename; } elseif (is_file(DIR_WS_TEMPLATES . &#8216;stylesheets\/&#8217; . $filename)) { $path = DIR_WS_TEMPLATES [&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],"tags":[],"class_list":["post-519","post","type-post","status-publish","format-standard","hentry","category-oscommerce-oscmax"],"_links":{"self":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/519","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=519"}],"version-history":[{"count":0,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/519\/revisions"}],"wp:attachment":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/media?parent=519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/categories?post=519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/tags?post=519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}