{"id":884,"date":"2009-11-08T20:33:09","date_gmt":"2009-11-09T01:33:09","guid":{"rendered":"http:\/\/darkniciad.com\/blog\/?p=884"},"modified":"2009-11-08T20:40:58","modified_gmt":"2009-11-09T01:40:58","slug":"yet-another-preview","status":"publish","type":"post","link":"http:\/\/darkniciad.com\/blog\/archives\/884","title":{"rendered":"Yet Another Preview"},"content":{"rendered":"<p>I did a little more writing on Lowborn and initial work on restructuring Barren Harvest, but this post is mainly to announce a new preview page.<\/p>\n<p>I replaced the old Filtered Homepage preview with the new Story Listings preview.\u00a0 Didn&#8217;t make much sense for that old preview to be up there when the much more advanced guest filtering page is up.<\/p>\n<p>The new preview\u00a0gives you an idea of what a listing of stories will eventually look like.\u00a0 I&#8217;m still tweaking it a bit, but this is the general form.\u00a0 It also demonstrates a lot of CSS work, creating new layouts with the same basic style as the main page.<\/p>\n<p>This is just the final listing page.\u00a0 There will be a selection page before that which will let you view stories as Dark or Les, as well as other narrow options such as stories in my fantasy world, Laresa stories, LST3Ks, The core storyline of Danica\/SOTM, etc.<\/p>\n<p>Just wanted to get the general layout done so that I have something to build into when I start writing the code.\u00a0 The story listings are one of the pages that I&#8217;ll generate dynamically with PHP.\u00a0 That way, all I ever have to do to update them is add new categories\/stories from an admin interface, and they&#8217;ll automatically come up as soon as I click the submit button.<\/p>\n<p>Also gives greater flexibility for what stories to display for anyone visiting the site.<\/p>\n<p>I can pretty much generate any type of page that I need to with CSS now, I believe.\u00a0 They should all stay mostly confined to the upper quadrant of the page as the existing pages do, as well.\u00a0 Thanks to the inline abilities of CSS, I can just scroll individual sections, leaving menu bars on screen rather than scrolled away at the top or bottom.\u00a0 Should be much easier to navigate.<\/p>\n<p>The hard part will come once I start fully integrating the PHP and content in actual pages.\u00a0 I&#8217;ll have to go through and tweak things for load times and server strain.\u00a0 Fortunately, I shouldn&#8217;t need the WordPress\u00a0front-end except on the index\/home page.\u00a0 I&#8217;m not going to display that blog blurb anywhere except there.<\/p>\n<p>To grab the settings for filters, I will need to call up the forum front-end on every page, though.\u00a0 I may not actually access it, because I&#8217;m going to carry the settings through the pages in much the same way as I do for guest filtering, but the front-end will still need a call, just in case the settings are lost by leaving the main string of website pages.<\/p>\n<p>Then again, I might just write a less intensive call of my own that only grabs the data that I need, and not all of the stuff that I don&#8217;t in the forum front-end.\u00a0 All depends on how much time and motivation that I have.<\/p>\n<p>At least one of the hard parts of this whole process is pretty much done.\u00a0 I knew exactly jack about CSS before I started this project, and I think I have it down well enough to do what I need to do.\u00a0 I&#8217;ll probably expand that knowledge at some point in the future and fine-tune it to make everything work more efficiently.\u00a0 I&#8217;m pretty sure that I&#8217;m doing a lot of things the hard way right now, eating more server ticks\/storage space\u00a0than necessary.<\/p>\n<p>I probably won&#8217;t start any hardcore coding in PHP until I have time to boot up the old computer and retrieve my folder of PHP programming stuff from it.\u00a0 The user side of the site won&#8217;t be all that difficult to do.\u00a0 Most of that is simple retrieve \u2192 display stuff.\u00a0 The hard part will be on the back-end that nobody but me will ever see.<\/p>\n<p>Okay, time to see if I can&#8217;t get a little more writing done on Lowborn.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I did a little more writing on Lowborn and initial work on restructuring Barren Harvest, but this post is mainly to announce a new preview page. I replaced the old Filtered Homepage preview with the new Story Listings preview.\u00a0 Didn&#8217;t make much sense for that old preview to be up there when the much more [&hellip;]<\/p>\n","protected":false},"author":118,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,3],"tags":[],"_links":{"self":[{"href":"http:\/\/darkniciad.com\/blog\/wp-json\/wp\/v2\/posts\/884"}],"collection":[{"href":"http:\/\/darkniciad.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/darkniciad.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/darkniciad.com\/blog\/wp-json\/wp\/v2\/users\/118"}],"replies":[{"embeddable":true,"href":"http:\/\/darkniciad.com\/blog\/wp-json\/wp\/v2\/comments?post=884"}],"version-history":[{"count":3,"href":"http:\/\/darkniciad.com\/blog\/wp-json\/wp\/v2\/posts\/884\/revisions"}],"predecessor-version":[{"id":886,"href":"http:\/\/darkniciad.com\/blog\/wp-json\/wp\/v2\/posts\/884\/revisions\/886"}],"wp:attachment":[{"href":"http:\/\/darkniciad.com\/blog\/wp-json\/wp\/v2\/media?parent=884"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/darkniciad.com\/blog\/wp-json\/wp\/v2\/categories?post=884"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/darkniciad.com\/blog\/wp-json\/wp\/v2\/tags?post=884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}