{"id":219,"date":"2017-09-16T13:26:16","date_gmt":"2017-09-16T17:26:16","guid":{"rendered":"https:\/\/blog.beausanders.org\/?p=219"},"modified":"2017-11-09T14:34:26","modified_gmt":"2017-11-09T19:34:26","slug":"bootstrap-3-responsive-template-for-autoindex-php-script","status":"publish","type":"post","link":"https:\/\/blog.beausanders.org\/index.php\/bootstrap-3-responsive-template-for-autoindex-php-script\/","title":{"rendered":"Bootstrap 3 Responsive Template for AutoIndex PHP Script"},"content":{"rendered":"<p>For years I have been a big fan of the <a href=\"http:\/\/autoindex.sourceforge.net\/\" target=\"_blank\" rel=\"noopener\"><strong>AutoIndex PHP Script<\/strong><\/a> written by Justin Hagstrom. This is a powerful website directory indexer and file manager. I primarily use it to manage download directories. The problem is that Mr. Hagstrom has not updated this script since 2007. It is not natively responsive for small screens. Since most browsing is done on cell phones or tablets these days, I created a simple Bootstrap 3 responsive template to solve this problem. I also created a mod to change the format of the Search box in AutoIndex. I think there are other AutoIndex users that might benefit from this template and mod, so I am sharing them in this post.<!--more--><\/p>\n<p>Links for this project:<br \/>\n<a href=\"http:\/\/autoindex.sourceforge.net\/\" target=\"_blank\" rel=\"noopener\">Download AutoIndex PHP Script from Justin Hagstrom<\/a><br \/>\n<a href=\"https:\/\/cpt.greenvilletech.us\/syllabi-folders\/\" target=\"_blank\" rel=\"noopener\">Demo responsive1 Template for AutoIndex PHP Script<\/a><br \/>\n<a href=\"https:\/\/blog.beausanders.org\/downloads\/\" target=\"_blank\" rel=\"noopener\">Download responsive1 Template for AutoIndex PHP Script<\/a><\/p>\n<p>After installing the <a href=\"http:\/\/autoindex.sourceforge.net\/\" target=\"_blank\" rel=\"noopener\"><strong>AutoIndex PHP Script<\/strong><\/a> on your website, you will need to make a few changes to implement the <strong>responsive1<\/strong> template, and the <strong>Search<\/strong> box mod if you choose.<\/p>\n<ol>\n<li>Download and unzip the download file for the <strong>responsive1<\/strong> template on your local computer<\/li>\n<li>Use a FTP program to upload the <code>responsive1<\/code> directory to the <code>templates<\/code> directory in AutoIndex<\/li>\n<li>Edit the <code>AutoIndex.conf.php<\/code> file to change to the <strong>responsive1<\/strong> template and then upload the edited <code>AutoIndex.conf.php<\/code> file to the root AutoIndex directory on your website:<br \/>\nChange\u00a0<code>template .\/templates\/default\/<\/code>\u00a0to<br \/>\n<code>template .\/templates\/responsive1\/<\/code><\/li>\n<li>If you want to use the <strong>Search<\/strong> box mod, unzip that download file on your local computer and upload the three files to the <code>classes<\/code> directory in AutoIndex on your website; you will see there are backup copies of the original <code>Search.php<\/code> file, as well as the modified version.<\/li>\n<\/ol>\n<p>If you would like to include a website logo image or a text header, you will find those at the bottom of the <code>global_header.tpl<\/code> file. Those two lines are disabled by default, but please customize them for your website.<\/p>\n<p>Once you get everything uploaded to your website, test the results on both a cell phone and a computer. I hope you like what you see.<\/p>\n<p>Disclaimer: No guarantees. Use at your own risk.<\/p>\n<p>Feel free to post comments, questions, and suggestions below and I will do what I can to help.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For years I have been a big fan of the AutoIndex PHP Script written by Justin Hagstrom. This is a powerful website directory indexer and file manager. I primarily use it to manage download directories. The problem is that Mr. Hagstrom has not updated this script since 2007. It is not natively responsive for small &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[45,48,46,47],"class_list":["post-219","post","type-post","status-publish","format-standard","hentry","category-themes-templates-and-mods","tag-autoindex-php-script","tag-mod","tag-responsive","tag-template"],"_links":{"self":[{"href":"https:\/\/blog.beausanders.org\/index.php\/wp-json\/wp\/v2\/posts\/219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.beausanders.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.beausanders.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.beausanders.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.beausanders.org\/index.php\/wp-json\/wp\/v2\/comments?post=219"}],"version-history":[{"count":22,"href":"https:\/\/blog.beausanders.org\/index.php\/wp-json\/wp\/v2\/posts\/219\/revisions"}],"predecessor-version":[{"id":243,"href":"https:\/\/blog.beausanders.org\/index.php\/wp-json\/wp\/v2\/posts\/219\/revisions\/243"}],"wp:attachment":[{"href":"https:\/\/blog.beausanders.org\/index.php\/wp-json\/wp\/v2\/media?parent=219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.beausanders.org\/index.php\/wp-json\/wp\/v2\/categories?post=219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.beausanders.org\/index.php\/wp-json\/wp\/v2\/tags?post=219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}