When I did the popup thing, it did bring up the right template - it has errors, but I'll work through that.
Just so I know, is the /popup calling the function that is set in the Page.ss file?
This is the error I am getting...
[Warning] None of these templates can be found: PagePopop.ss
I have a PagePopop.ss in the templates folder under themes...
This is my PagePopop.php file
<?php
class PagePopup extends Page {
static $db = array(
);
static $has_one = array(
);
}
class PagePopup_Controller extends Page_Controller {
function init() {
parent::init();
Requirements::themedCSS("layout");
Requirements::themedCSS("typography");
Requirements::themedCSS("form");
}
}
?>
My function looks like this in the Page.php file
function popup() {
return $this->renderWith('PagePopop');
}