summaryrefslogtreecommitdiff
path: root/EVENTS.txt
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-10-09 15:28:12 -0400
committerEvan Prodromou <evan@status.net>2009-10-09 15:28:12 -0400
commit44a59bbc2d34998147496d5945f6b35a75cf8464 (patch)
tree5eb7ea68ce79e9ff405f98418fdedcbecc5ab51d /EVENTS.txt
parentbf1c662990af63b9bd7cf8261974808bea0ca816 (diff)
add some hooks for the profile page
Diffstat (limited to 'EVENTS.txt')
-rw-r--r--EVENTS.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/EVENTS.txt b/EVENTS.txt
index 02b11a8a6..68c7a2961 100644
--- a/EVENTS.txt
+++ b/EVENTS.txt
@@ -291,3 +291,45 @@ EndShowHeadElements: Right before the </head> tag; put <script>s here if you nee
- $action: the current action
CheckSchema: chance to check the schema
+
+StartShowLargeProfileSection: Starting to show the section of the
+ profile page with the actual profile data;
+ hook to prevent showing the profile (e.g.)
+- $action: the current action
+- &$profile: the profile being shown
+
+StartShowLargeProfileElements: inside the section, before the first
+ element; prepend elements here
+- $action: the current action
+- &$profile: the profile being shown
+
+EndShowLargeProfileElements: inside the section, after the last element;
+ append elements here
+- $action: the current action
+- &$profile: the profile being shown
+
+EndShowLargeProfileSection: After showing the section of the profile
+ page with the profile elements
+- $action: the current action
+- &$profile: the profile being shown
+
+StartShowLargeEntityActionsSection: Starting to show the section of the
+ profile page with action links; hook
+ to hide them (for example)
+- $action: the current action
+- &$profile: the profile being shown
+
+StartShowLargeEntityActionsElements: inside the list, before the first
+ element; prepend elements here
+- $action: the current action
+- &$profile: the profile being shown
+
+EndShowLargeEntityActionsElements: inside the list, after the last element;
+ append elements here
+- $action: the current action
+- &$profile: the profile being shown
+
+EndShowLargeEntityActionsSection: After showing the section of the profile
+ page with the entity actions
+- $action: the current action
+- &$profile: the profile being shown