From 82ed7baf78c3005309487fc4e8b075cba9249e8b Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 3 Oct 2009 18:20:59 +0000 Subject: cleaned up events and plugin hooks --- docs/extending_tidypics.txt | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) (limited to 'docs/extending_tidypics.txt') diff --git a/docs/extending_tidypics.txt b/docs/extending_tidypics.txt index 8d3674cbd..0fd544119 100644 --- a/docs/extending_tidypics.txt +++ b/docs/extending_tidypics.txt @@ -1,9 +1,26 @@ Extending Tidypics ----------------------------------- -We will include more information here in the future. For right now, we will -mention that we have included some code to make it easy to put the latest -photos on your front page. See tidypics/lib/tidypics.php and the function -tp_get_latest_photos(). +*** DISPLAYING THE LATEST PHOTOS *** +In tidypics/lib/tidypics.php, there is a function tp_get_latest_photos(). +It can be used to display the site-wide latest photos or an individual +user's latest photos. The documentation explains how you could use that +function to display the latest photos on your front page if you are using +the custom front page tutorial plugin from Curverider. - \ No newline at end of file + +*** MAKING TIDYPICS MATCH YOUR THEME *** +Please check the css guid found in this directory. This will list the +different css elements and where they are used. + + +*** TIDYPICS EVENTS *** +1. album created: 'add', 'tp_album' +2. album updated: 'update', 'tp_album' +3. album deleted: 'delete', 'tp_album' +4. photos uploaded: 'upload', 'tp_album' +5. photo edited: 'update', 'tp_image' +6. photo deleted: 'delete', 'tp_image' + +*** TIDYPICS PLUGIN HOOKS *** +1. album slideshow: 'tp_slideshow', 'album' - return false to not have a slideshow, otherwise return link to slideshow \ No newline at end of file -- cgit v1.2.3