{"id":683,"date":"2011-08-20T07:28:24","date_gmt":"2011-08-19T21:28:24","guid":{"rendered":"http:\/\/howden.net.au\/thowden\/?p=683"},"modified":"2011-08-20T07:28:24","modified_gmt":"2011-08-19T21:28:24","slug":"oscmax-slideshow-process-in-a-free-css-stylesheet-template","status":"publish","type":"post","link":"https:\/\/howden.net.au\/thowden\/2011\/08\/oscmax-slideshow-process-in-a-free-css-stylesheet-template\/","title":{"rendered":"osCmax Slideshow process in a free CSS stylesheet template"},"content":{"rendered":"<p>The slideshow process in osCmax 2.5 RC1 has had me baffled for a couple of days (well at least the hours that I have had available to look at it during those days).<\/p>\n<p>First up was a bit of redundant code that I flagged in <a href=\"http:\/\/bugtrack.oscmax.com\/view.php?id=967\">a bug report<\/a> and then finally getting to grips with the fact that the {slideshow} element in the main_page.code.php file is not in fact the complete deal but just the javascript bit and that the page modules section {modulecontroller} also needs to be called from the html page.<\/p>\n<p>Once I danced around all of this to gain an understanding of how to get the slideshow working in the main index page, I then faced the admin console for the slideshow.<\/p>\n<p>Annoyance #1 is that the slideshow images page includes a short cut to the slideshow settings page but the slideshow settings page has no corresponding return button requiring a 4 step menu traverse which is painful particularly with a glidepad and no mouse. But due to the hard coded construct of the configuration process for editing admin items it is a major task to change the system to fix this annoyance. Another day.<\/p>\n<p>For future reference:<\/p>\n<ul>\n<li>the main settings page in the admin is controlled \/ presented via the configuration.php file<\/li>\n<li>the index code for the file makes it difficult for link backs\n<\/li>\n<li>the file permissions process will need to be allowed for\n<\/li>\n<li>the current menu process on the left and the edit process on the right might need to change<\/li>\n<li>some of the showcase js script options are not offered in the slideshow settings\n<\/li>\n<\/ul>\n<p>There was no second annoyance just a desire to recreate the slideshow elements that the FreeCSS_Sky stylesheet had included. The FreeCSS_Sky stylesheet template included not just an image slide but associated text. I think this is a great option and in order to adapt osCmax to replicate this I needed to add an option to the database and the slideshow tools to cater for the text object.<\/p>\n<p>The process will need to include:<\/p>\n<ul>\n<li>add the extra database fields to the slideshow table and the configuration table<\/li>\n<li>modify the javascript populating file slideshow.js.php to read the fields<\/li>\n<li>modify slideshow.php to present the fields in the admin<\/li>\n<li>modify the javascript that actually does the work to present the new data\n<\/li>\n<\/ul>\n<p>But this is for another day.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The slideshow process in osCmax 2.5 RC1 has had me baffled for a couple of days (well at least the hours that I have had available to look at it during those days). First up was a bit of redundant code that I flagged in a bug report and then finally getting to grips with [&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-683","post","type-post","status-publish","format-standard","hentry","category-oscommerce-oscmax"],"_links":{"self":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/683","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=683"}],"version-history":[{"count":0,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/683\/revisions"}],"wp:attachment":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/media?parent=683"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/categories?post=683"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/tags?post=683"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}