I'm trying to build a custom page, but it kinda breaks the theme. It makes the background on the default theme white, and in the bootstrap one, it changes the theme colours around (To colours that are in the theme, but different ones) and it makes the text bigger.
test.php
Code:
<?php
class TestController extends AppController{
public function index(){
$mysidia = Registry::get("mysidia");
}
}
?>
testview.php
Code:
<?php
class TestView extends View{
public function index(){
$mysidia = Registry::get("mysidia");
$document = $this->document;
$document->setTitle("Test");
$document->add(new Comment("Test"));
}
}
?>
Edit: I don't get it. It's the same as in blank.php and blackview.php (Not sure why misspelled..) Changing blackview.php to blankview.php and adding a title and the theme works fine..