diff --git a/phpBB/docs/coding-guidelines.html b/phpBB/docs/coding-guidelines.html index eb569d12d5..14c2281323 100644 --- a/phpBB/docs/coding-guidelines.html +++ b/phpBB/docs/coding-guidelines.html @@ -72,6 +72,7 @@
Template events must follow this format: <!-- EVENT event_name -->
Using the above example, files named event_name.html
located within extensions will be injected into the location of the event.
_prepend
- This event adds an item to the beginning of a block of related items, or adds to the beginning of individual items in a block._append
- This event adds an item to the end of a block of related items, or adds to the end of individual items in a block._before
- This event adds content directly before the specified block_after
- This event adds content directly after the specified blockEvents must be documented in phpBB/docs/events.md
in alphabetical order based on the event name. The format is as follows:
event_name +=== +* Location: styles/<style_name>/template/filename.html +* Purpose: A brief description of what this event should be used for. +This may span multiple lines. +
event_name +=== +* Locations: + + first/file/path.html + + second/file/path.html +* Purpose: Same as above. +
event_name +=== +* Locations: + + first/file/path.html (2) + + second/file/path.html +* Purpose: Same as above. +
forumlist_body_last_post_title_prepend +==== +* Locations: + + styles/prosilver/template/forumlist_body.html + + styles/subsilver2/template/forumlist_body.html +* Purpose: Add content before the post title of the latest post in a forum on the forum list.