SiT! Bugs - SiT!
View Issue Details
0001681SiT!plugin hookspublic2011-08-11 10:482013-03-02 16:20
ivan 
ivan 
normalminorhave not tried
resolvedfixed 
 
3.90beta1Current GIT 
0001681: Make plugin hooks consistent
Use a consistent naming and placing scheme for plugin hooks to assist plugin developers and fix the mess of names that we have right now.

<page name> - Add content to the page in the most appropriate place for custom content
<page name>_form - Placed at the end of the form inside the form table but before the buttons
<page name>_form_more - Placed at the end of the collapsible form section (more/advanced), where there is one, inside the form table but before the buttons
<page name>_submitted - Placed after form data has been submitted (and validated) but before it is saved to the database or actioned upon
<page name>_saved - Placed after form data has been saved but before confirmation is output or the page is redirected
I'll add to this list if more standard names become obvious
No tags attached.
Issue History
2011-08-11 10:48ivanNew Issue
2011-08-11 10:48ivanAssigned To => ivan
2011-08-11 10:48ivanStatusnew => assigned
2011-08-11 11:00ivanNote Added: 0004196
2011-08-11 11:03ivanDescription Updatedbug_revision_view_page.php?rev_id=237#r237
2011-08-11 11:04ivanDescription Updatedbug_revision_view_page.php?rev_id=238#r238
2011-08-11 11:05ivanDescription Updatedbug_revision_view_page.php?rev_id=239#r239
2013-02-23 14:53ivanNote Added: 0004713
2013-03-02 16:08ivanNote Edited: 0004713bug_revision_view_page.php?bugnote_id=4713#r300
2013-03-02 16:09ivanNote Edited: 0004713bug_revision_view_page.php?bugnote_id=4713#r301
2013-03-02 16:16ivanNote Edited: 0004713bug_revision_view_page.php?bugnote_id=4713#r302
2013-03-02 16:17ivanNote Added: 0004731
2013-03-02 16:20ivanNote Added: 0004732
2013-03-02 16:20ivanStatusassigned => resolved
2013-03-02 16:20ivanFixed in Version => Current GIT
2013-03-02 16:20ivanResolutionopen => fixed

Notes
(0004196)
ivan   
2011-08-11 11:00   
<table name>_table - Placed at the end of a table of data but before it is closed
(0004713)
ivan   
2013-02-23 14:53   
(edited on: 2013-03-02 16:16)
Outstanding:

billing_approve_form
holiday_chart_day_am
holiday_chart_day_pm
holiday_chart_cal
config_tab (perhaps just needs documenting, unsure)
holdingqueue_rowshade
holiday_ack > holiday_acknowledge_action
holiday_cancelled > holiday_cancelled_action
email_arrived > email_arrived_action
email-arrived_no_owner > email_stored_action
inboundemail_customer_visibility_update > email_update_setvisibility_action
incident_html_top_menu_open_incident
incident_html_top_menu_closed_incident
incident_details_menu
incident_details_*
incident_email_form1
incident_email_form2
incidents_content_between_my_and_expertise
templates_variables_content

(0004731)
ivan   
2013-03-02 16:17   
Git b104a6a adds some more standardisation.
(0004732)
ivan   
2013-03-02 16:20   
I've done about as much work as I can on this for now, will keep chipping at it in future releases.