{"id":1248,"date":"2020-03-25T00:22:38","date_gmt":"2020-03-24T23:22:38","guid":{"rendered":"http:\/\/ginclub.website\/home2\/gentsinnyon\/?page_id=1248"},"modified":"2021-08-30T20:08:24","modified_gmt":"2021-08-30T19:08:24","slug":"file-manager","status":"publish","type":"page","link":"https:\/\/ginclub.website\/home2\/gentsinnyon\/gin-club-home\/user-guide\/administrators-guide\/file-manager\/","title":{"rendered":"File manager"},"content":{"rendered":"\n<p>Access from Control Panel,  see section <a href=\"http:\/\/ginclub.website\/home2\/gentsinnyon\/gin-club-home\/user-guide\/administrators-guide\/web-hosting\/\">Web hosting<\/a>, top left item in panel FILES. Then click on &#8220;public_html&#8221;, then &#8220;home2&#8221;. This folder contains all the code for this website. There are 2 sub-folders<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>gentsinnyon &#8211; contains all the WordPress code<\/li><li>non_wp_routines &#8211; contains all the custom code I wrote<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"628\" height=\"688\" src=\"http:\/\/ginclub.website\/home2\/gentsinnyon\/wp-content\/uploads\/2020\/03\/FileManager.jpg\" alt=\"\" class=\"wp-image-1229\" srcset=\"https:\/\/ginclub.website\/home2\/gentsinnyon\/wp-content\/uploads\/2020\/03\/FileManager.jpg 628w, https:\/\/ginclub.website\/home2\/gentsinnyon\/wp-content\/uploads\/2020\/03\/FileManager-274x300.jpg 274w\" sizes=\"auto, (max-width: 628px) 85vw, 628px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">WordPress code<\/h2>\n\n\n\n<p class=\"has-very-dark-gray-color has-text-color\">All wordpress code is in folder &#8220;public_html\/home2\/gentsinnyon&#8221;<\/p>\n\n\n\n<p>This is all standard WordPress except <br>wp_content\/plugins\/mgw_gin_enable_db_updates.php<br>Which is a short plugin to manage the links between the WordPress code and the custom code and to enable administrators to update the database. In particular shows some extra options once a user is logged-in and more still for the administrators.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Custom code<\/h2>\n\n\n\n<p>This is all in folder &#8220;non_wp_routines&#8221;. There are 3 main parts, all written in php with a small amount of JavaScript, jQuery and AJAX.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>&#8220;members&#8221; &#8211; creates the lists of member details, including by activity, the list of organisers and the distribution lists<\/li><li>&#8220;calendar&#8221; &#8211; displays the calendar using information stored in the database<\/li><li>&#8220;dbUpdates&#8221; &#8211; handles all updates once the user is logged in. This includes any calendar entries or updates, linking users to activities, creating activities (administrators only)<\/li><\/ol>\n\n\n<p><!--EndFragment--><\/p>","protected":false},"excerpt":{"rendered":"<p>Access from Control Panel, see section Web hosting, top left item in panel FILES. Then click on &#8220;public_html&#8221;, then &#8220;home2&#8221;. This folder contains all the code for this website. There are 2 sub-folders gentsinnyon &#8211; contains all the WordPress code non_wp_routines &#8211; contains all the custom code I wrote WordPress code All wordpress code is &hellip; <a href=\"https:\/\/ginclub.website\/home2\/gentsinnyon\/gin-club-home\/user-guide\/administrators-guide\/file-manager\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;File manager&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":490,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1248","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ginclub.website\/home2\/gentsinnyon\/wp-json\/wp\/v2\/pages\/1248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ginclub.website\/home2\/gentsinnyon\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ginclub.website\/home2\/gentsinnyon\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ginclub.website\/home2\/gentsinnyon\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ginclub.website\/home2\/gentsinnyon\/wp-json\/wp\/v2\/comments?post=1248"}],"version-history":[{"count":4,"href":"https:\/\/ginclub.website\/home2\/gentsinnyon\/wp-json\/wp\/v2\/pages\/1248\/revisions"}],"predecessor-version":[{"id":2409,"href":"https:\/\/ginclub.website\/home2\/gentsinnyon\/wp-json\/wp\/v2\/pages\/1248\/revisions\/2409"}],"up":[{"embeddable":true,"href":"https:\/\/ginclub.website\/home2\/gentsinnyon\/wp-json\/wp\/v2\/pages\/490"}],"wp:attachment":[{"href":"https:\/\/ginclub.website\/home2\/gentsinnyon\/wp-json\/wp\/v2\/media?parent=1248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}