summaryrefslogtreecommitdiff
path: root/EVENTS.txt
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-10-09 16:14:20 -0400
committerEvan Prodromou <evan@status.net>2009-10-09 16:14:20 -0400
commit76ac7c358a3245f4032f49152055cae94c4616ff (patch)
tree781d73405ee2c26d2c020c89a1fafa471ad2dc1f /EVENTS.txt
parent44a59bbc2d34998147496d5945f6b35a75cf8464 (diff)
add lots of events to customize the profile page
Diffstat (limited to 'EVENTS.txt')
-rw-r--r--EVENTS.txt73
1 files changed, 65 insertions, 8 deletions
diff --git a/EVENTS.txt b/EVENTS.txt
index 68c7a2961..9de2f8bc6 100644
--- a/EVENTS.txt
+++ b/EVENTS.txt
@@ -292,44 +292,101 @@ EndShowHeadElements: Right before the </head> tag; put <script>s here if you nee
CheckSchema: chance to check the schema
-StartShowLargeProfileSection: Starting to show the section of the
+StartProfilePageProfileSection: 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
+StartProfilePageProfileElements: 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;
+EndProfilePageProfileElements: 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
+EndProfilePageProfileSection: 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
+StartProfilePageActionsSection: 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
+StartProfilePageActionsElements: 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;
+EndProfilePageActionsElements: 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
+EndProfilePageActionsSection: After showing the section of the profile
page with the entity actions
- $action: the current action
- &$profile: the profile being shown
+
+StartProfilePageAvatar: before showing the avatar on the profile page
+- $action: the current action
+- &$profile: the profile being shown
+
+EndProfilePageAvatar: after showing the avatar on the profile page
+- $action: the current action
+- &$profile: the profile being shown
+
+StartProfilePageNickname: before showing the nickname on the profile page
+- $action: the current action
+- &$profile: the profile being shown
+
+EndProfilePageNickname: after showing the nickname on the profile page
+- $action: the current action
+- &$profile: the profile being shown
+
+StartProfilePageFullName: before showing the fullname on the profile page
+- $action: the current action
+- &$profile: the profile being shown
+
+EndProfilePageFullName: after showing the fullname on the profile page
+- $action: the current action
+- &$profile: the profile being shown
+
+StartProfilePageLocation: before showing the location on the profile page
+- $action: the current action
+- &$profile: the profile being shown
+
+EndProfilePageLocation: after showing the location on the profile page
+- $action: the current action
+- &$profile: the profile being shown
+
+StartProfilePageHomepage: before showing the homepage link on the profile page
+- $action: the current action
+- &$profile: the profile being shown
+
+EndProfilePageHomepage: after showing the homepage on the profile page
+- $action: the current action
+- &$profile: the profile being shown
+
+StartProfilePageBio: before showing the bio on the profile page
+- $action: the current action
+- &$profile: the profile being shown
+
+EndProfilePageBio: after showing the bio on the profile page
+- $action: the current action
+- &$profile: the profile being shown
+
+StartProfilePageProfileTags: before showing the tags on the profile page
+- $action: the current action
+- &$profile: the profile being shown
+
+EndProfilePageProfileTags: after showing the tags on the profile page
+- $action: the current action
+- &$profile: the profile being shown
+