CleanUp/ToDo

Things to do or think about

Theme header.php

Currently the code to create the contents of HTML <head> block resides in the_gallery_head() function in gallery.php I think we should move that to the header.php in the theme folder. Something like this perhaps

<link rel='stylesheet' type='text/css' href='<?php plogger_theme_url();?>gallery.css' />
<script type='text/javascript' src='<?php plogger_theme_url();?>dynamics.js'></script>
<?php plogger_get_header(); ?>

plogger_get_header() would then perform any additional tasks, like including slideshow.js or in general just doing whatever else has to be done.

This way theme authors can include additional stylesheets/javascript files in their themes and still get valid HTML (impossible now)

Mike, what do you think of that?

Actually I would like to move all the HTML code in index.php into themes header/footer files as well, but this would break any current custom uses of Plogger (which use those 2 functions).

Anti

Todo

  • get tagging code into SVN (backend functions are fleshed out, actual interface needs a lot of work)
  • themes: gallery.css contains relative URL-s, those won't work if Plogger is embedded in WordPress?
  • WordPress plugin? (very basic functionaliy is already there). Ticket #15
  • Adding a comment to a picture redirects out of WordPress? (could we use Ajax/Prototype for Commenting?)
  • Move loop functions out of plog-functions into a separate file. Functions.php is getting very big very fast.
  • Some kind of Plugin architecture (download selected and exif information are perfect candidates for plugins IMHO), besides people are already writing plugins, we should make it easier for them.
  • Do something about _install.php & _upgrade.php, those should share SQL table schemes, database versions is also nice to have
  • zip uploads, unpack it into import directory and then redirect user to the Import dialog (we are limited to the max-upload-filesize PHP setting though, it is usually set to 2M)

Done

  • plog-rss.php should use loop functions (2005-11-20)