Hook |
Parameter |
Description |
File |
---|---|---|---|
swiftriver.header.js |
|
Add Javascript to the header |
application/classes/controller/media.php |
swiftriver.river.save |
$river |
Runs after saving a river. Has a River Object |
application/classes/model/river.php |
swiftriver.header.css |
|
Add CSS to the header |
application/classes/controller/media.php |
swiftriver.river.filter |
$query |
Allows for adding for more filters via Plugin. Has a Query Object |
application/classes/controller/river.php |
swiftriver.river.pre_save |
$post |
Hook into the River $post object before a save. Has a $post Validation Object |
application/classes/controller/river.php |
swiftriver.river.nav.more |
$river_id |
Hook into to the 'More' dropdown |
themes/default/views/river/more_control.php |
swiftriver.template.head |
|
Hook into the <head></head> of the template |
themes/default/views/template/header.php |
swiftriver.footer |
|
Hook into the footer right before the </body> tag |
themes/default/views/template/footer.php |
swiftriver.settings.nav |
$active |
Hook into the website settings nav |
themes/default/views/pages/settings/layout.php |
swiftriver.dashboard.nav |
$nav |
Hook into the dashboard nav |
application/classes/controller/user.php |