FOR ARCHIVAL PURPOSES ONLY

The information in this wiki hasn't been maintained for a good while. Some of the projects described have since been deprecated.

In particular, the "Ushahidi Platform v3.x" section contains information that is often misleading. Many details about this version of Platform have changed since.

This website is an extraction of the original Ushahidi wiki into a static form. Because of that, functions like logging in, commenting or searching will not work.

For more documentation, please refer to https://docs.ushahidi.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Unknown macro: {table-plus}

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

  • No labels