Re: $this->element() and Model:$_schema

2008-09-01 Thread RichardAtHome
bump? On Aug 24, 1:52 pm, RichardAtHome <[EMAIL PROTECTED]> wrote: > Also (may be related), in the element, why doesn't the following work? > > echo $html->css(array( >         "element.site_search" > ), null, array(), false); > ?> > > (the CSS file isn't being linked in the head) > > It works i

Re: $this->element() and Model:$_schema

2008-08-24 Thread RichardAtHome
Also (may be related), in the element, why doesn't the following work? css(array( "element.site_search" ), null, array(), false); ?> (the CSS file isn't being linked in the head) It works if the last param is true, but the code is embeded in the page and not the head. On Aug 24, 11:27 

$this->element() and Model:$_schema

2008-08-24 Thread RichardAtHome
I have a simple element: site_search.ctp: create("Search") ?> inputs() ?> end("Search") ?> Model Search is a tableless model which I manually create the schema for: search.php: class Search extends AppModel { var $useTable = false; var $_schema = array( "search