Created
May 14, 2009 11:57
-
-
Save susieyy/111628 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here is what I propose for hooks in views: | |
view_[path_to_the_view]_[position_in_view] | |
Examples: | |
view_layouts_base_html_head -- the only one that was committed | |
view_issues_show_details_bottom | |
view_issues_list_table_header | |
view_issues_list_table_row | |
... | |
controller_[controller_name]_[action]_[position] | |
controller_issues_show_index | |
controller_issues_edit | |
controller_issues_edit_post # For after `if request.post?`, when saving. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment