From b093bdeace4908cc43ba40ac8c145b6c9a6eb730 Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 18 Jan 2011 20:05:44 -0800 Subject: new profile_sidebar_enter hook, changed profile_sidebar to array --- addon/README | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'addon/README') diff --git a/addon/README b/addon/README index 89f39e399..33b84e10d 100644 --- a/addon/README +++ b/addon/README @@ -100,9 +100,13 @@ Current hooks: 'contact' => contact (array) record for the person from the database 'entry' => the (string) HTML of the generated entry +'profile_sidebar_enter' - called prior to generating the sidebar "short" profile for a page + $b is (array) the person's profile array + 'profile_sidebar' - called when generating the sidebar "short" profile for a page - $b is the (string) generated HTML of the entry - (The profile array details are in $a->profile) + $b is an array + 'profile' => profile (array) record for the person from the database + 'entry' => the (string) HTML of the generated entry 'contact_block_end' - called when formatting the block of contacts/friends on a profile sidebar has completed -- cgit v1.2.3