View Single Post
  #8  
Old 01-15-2015, 07:52 AM
MikiHeart's Avatar
MikiHeart MikiHeart is offline
Premium Member
 
Join Date: Apr 2009
Posts: 187
Gender: Female
Credits: 20,586
MikiHeart
Default

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..

Last edited by MikiHeart; 01-15-2015 at 07:56 AM.
Reply With Quote