# |
Sep 12th 2009, 19:31 |
^poi |
only 'js rss xml' folders in layouts |
# |
Sep 12th 2009, 19:31 |
^poi |
can't find that file |
# |
Sep 12th 2009, 19:30 |
dogmatic69 |
look at /app/views/layouts/default.ctp |
# |
Sep 12th 2009, 19:29 |
^poi |
^_^ any hints? |
# |
Sep 12th 2009, 19:28 |
^poi |
Right now I have a header and a footer for every page -- how does this work with cake? |
# |
Sep 12th 2009, 19:28 |
^poi |
1) How do I include all of the CSS / markup, in a page? |
# |
Sep 12th 2009, 19:27 |
^poi |
my main concern is simply getting the index page correct; i think from the manual / docs i've read, i can get everything else done |
# |
Sep 12th 2009, 19:27 |
^poi |
i have an existing application; trying to convert to a system using cake as a framework |
# |
Sep 12th 2009, 19:27 |
^poi |
hi all |
# |
Sep 12th 2009, 19:18 |
dogmatic69 |
s/had/hard |
# |
Sep 12th 2009, 19:16 |
dogmatic69 |
AD7six: all i needed was getObject, and i could have figured the rest in the api, not some cryptic clues... its just had looking for something when you dont know what its called |
# |
Sep 12th 2009, 19:16 |
lukas__ |
is ther any other way to do this? |
# |
Sep 12th 2009, 19:15 |
lukas__ |
but his code should do the job, but ir couses to recursion :( |
# |
Sep 12th 2009, 19:15 |
lukas__ |
sorry, pasted too much :( |
# |
Sep 12th 2009, 19:15 |
lukas__ |
} |
# |
Sep 12th 2009, 19:15 |
lukas__ |
//vd (APP_DIR . DS . 'views' .DS . $this -> viewPath . DS . $this -> action . $this -> ext); |
# |
Sep 12th 2009, 19:15 |
lukas__ |
} |
# |
Sep 12th 2009, 19:15 |
lukas__ |
$this->render('/items/'.$this -> action); |
# |
Sep 12th 2009, 19:15 |
lukas__ |
echo 'OK'; |
# |
Sep 12th 2009, 19:15 |
lukas__ |
if (is_file(APP_DIR . DS . 'views' .DS . $this -> viewPath . DS . $this -> action . $this -> ext) != true) { |
# |
Sep 12th 2009, 19:15 |
lukas__ |
#TODO There should be a better way :) or not? ;) |
# |
Sep 12th 2009, 19:15 |
lukas__ |
function beforeRender() { |
# |
Sep 12th 2009, 19:14 |
lukas__ |
so code like |
# |
Sep 12th 2009, 19:14 |
lukas__ |
I want to tell cake to use 'default' view.ctp if viuw fo current model is not created |
# |
Sep 12th 2009, 19:13 |
lukas__ |
Hi |
# |
Sep 12th 2009, 18:59 |
AD7six |
dogmatic69: see example 6 - look for how that works. nobody suggested you use it. |
# |
Sep 12th 2009, 18:55 |
dogmatic69 |
AD7six: im using that already in my app, i use it for my menus... it does not do what i want |
# |
Sep 12th 2009, 18:50 |
unclezoot |
hehe |
# |
Sep 12th 2009, 18:50 |
unclezoot |
this is early for spaniards, they'll be thinking of going out about now |
# |
Sep 12th 2009, 18:50 |
unclezoot |
did you not have your siesta this afternoon? |
# |
Sep 12th 2009, 18:50 |
unclezoot |
one hour ahead then |
# |
Sep 12th 2009, 18:49 |
AD7six |
spain |
# |
Sep 12th 2009, 18:49 |
unclezoot |
where do you live mate? |
# |
Sep 12th 2009, 18:48 |
AD7six |
you aren't in my timezone ;) |
# |
Sep 12th 2009, 18:48 |
unclezoot |
1:13?! lightweight :) |
# |
Sep 12th 2009, 18:48 |
unclezoot |
nite |
# |
Sep 12th 2009, 18:48 |
AD7six |
nn |
# |
Sep 12th 2009, 18:48 |
AD7six |
dogmatic69: see where it does the same sort of thing here: http://bakery.cakephp.org/articles/view/tree-helper-1 |
# |
Sep 12th 2009, 18:46 |
unclezoot |
im presuming the view object |
# |
Sep 12th 2009, 18:45 |
dogmatic69 |
$this need to be ? |
# |
Sep 12th 2009, 18:44 |
unclezoot |
can you use CRI to load the element im thinking |