diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-10-03 18:20:59 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-10-03 18:20:59 +0000 |
commit | 82ed7baf78c3005309487fc4e8b075cba9249e8b (patch) | |
tree | 79c939fb5fc23dbe5a732afd869b20386f16c374 /docs | |
parent | 6263b1d67488acd66f457aee0ec8a70e418ea5dc (diff) | |
download | elgg-82ed7baf78c3005309487fc4e8b075cba9249e8b.tar.gz elgg-82ed7baf78c3005309487fc4e8b075cba9249e8b.tar.bz2 |
cleaned up events and plugin hooks
Diffstat (limited to 'docs')
-rw-r--r-- | docs/extending_tidypics.txt | 27 |
1 files changed, 22 insertions, 5 deletions
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 |