I created the controller ./mysite/code/FileManager.php with the following code...
class FileManager_Controller extends Controller
{
public function upload()
{
echo 'It works!!';
}
}
This works fine when I type http://example.com/filemanager/upload.
And I created the template file themes/simple/templates/FileManager.ss. I want to write the HTML for upload here and it should reflect when I type http://example.com/filemanager/upload. How to do this? Thank you.