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

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • added file "main.php" to directory plugins/datascience/views/datascience
  • added file "datascience.php" to directory plugins/datascience/controllers

Mainmain.php contains:

<div id="content">
<div class="content-bg">

<h1>This is a title</h1>
This is some content
</div>
</div>

datascience.php contains: 

class DataScience_Controller extends Main_Controller
{
 public function index()
 {

...

 $this->template-

...

>content = new View('datascience/main');

...

 }
}

 


Note that datascience.php extends class Main_Controller...: this puts your content into a standard Ushahidi frame.