Site changes: beginning to code the backend for contributors
The “Contributors” section has changed. There is no underlying functionality yet, but the main contributor landing page now reflects what is intended. Next step is to implement backend functionality to enable uploading content, and to manage the content one uploaded. The framework for how this could look like has been set…
As usual, please report any issues. There are lots of things to consider - even more when one uses AJAX, as I do. For example, if someone logs in using the AJAX method within every page and then uses the browser’s BACK button one gets to a page where the user wasn’t logged in. So I had to implement code that changes the appearance of that page to reflect the now logged-in state too, even if it didn’t the last time the user was there… and that requires Javascript. There are even more issues when considering the various states of elements on a page (e.g. buttons: enabled or not) when you do it in PHP and/or in Javascript after loading…
Mörre