# |
Aug 6th 2008, 21:02 |
polywog |
gwoo: awwwww, doh. sorry |
# |
Aug 6th 2008, 21:02 |
gwoo |
polywog: have you read the all the release annoucnements? |
# |
Aug 6th 2008, 21:02 |
Bloc |
try 'id > 1' |
# |
Aug 6th 2008, 21:02 |
polywog |
(in the query) |
# |
Aug 6th 2008, 21:01 |
polywog |
when I do a debug==2 it puts the ">1" in single quotes after an equal sign |
# |
Aug 6th 2008, 21:01 |
polywog |
hey, I am using RC2, does anyone know why this doesn't work anymore: $this->Client->findAll(array('id' =>'>1')); |
# |
Aug 6th 2008, 21:00 |
milke |
should just return? |
# |
Aug 6th 2008, 21:00 |
milke |
i need to know how to break from a controller action in the action early |
# |
Aug 6th 2008, 20:53 |
achew22 |
hi |
# |
Aug 6th 2008, 20:52 |
stabb |
oh hey |
# |
Aug 6th 2008, 20:51 |
achew22 |
does anyone have any experience on anything like this http://bin.cakephp.org/view/1570024116 ? |
# |
Aug 6th 2008, 20:49 |
Yeckel |
nm |
# |
Aug 6th 2008, 20:49 |
Yeckel |
oder |
# |
Aug 6th 2008, 20:49 |
Yeckel |
Cache::config('disable');? |
# |
Aug 6th 2008, 20:42 |
achew22 |
yes, go to the core.php file in config and disable it |
# |
Aug 6th 2008, 20:36 |
Yeckel |
can you turn off cache in cakephp? |
# |
Aug 6th 2008, 20:34 |
crux |
App::import('vendor', 'FileName') will look for app/vendors/FileName.php |
# |
Aug 6th 2008, 20:33 |
crux |
achew22: looks like it |
# |
Aug 6th 2008, 20:31 |
achew22 |
what is the inflection on file in the vendor folder imported through App::import('Vendor', 'FileName') => vendors/FileName.php? |
# |
Aug 6th 2008, 20:31 |
cl0s_ |
from bindable* |
# |
Aug 6th 2008, 20:31 |
cl0s_ |
but $this->Model->contain(array('ModelComment', 'User')); or something like that should work.. same as the restrict used to? |
# |
Aug 6th 2008, 20:30 |
cl0s_ |
using the containable behavior.. i can pass it an array correct? Just didnt see anyone doing it in the example and im getting some errors with it.. |
# |
Aug 6th 2008, 20:23 |
batcoder-7 |
polerin: im going ot barely get this working hehehe |
# |
Aug 6th 2008, 20:04 |
polerin |
btw there are any number of more elegant ways of specifying that array for the element, so once you get stuff working and the kinks worked out, you may wish to look at pulling it from Configure::'s cache or something along those lines |
# |
Aug 6th 2008, 20:02 |
batcoder-7 |
i hate doing this dynamic menu stuff |
# |
Aug 6th 2008, 20:02 |
batcoder-7 |
polerin: yea |
# |
Aug 6th 2008, 20:01 |
polerin |
and you can just specify multiples of those and only use one style :) |
# |
Aug 6th 2008, 20:00 |
batcoder-7 |
ah |
# |
Aug 6th 2008, 19:57 |
polerin |
body.items.detail #menu .itemsdetails { background: #bbb; } |
# |
Aug 6th 2008, 19:56 |
batcoder-7 |
i dont get how the body class would be abel to mess with a style of the current tab/ link |
# |
Aug 6th 2008, 19:54 |
polerin |
then in your css just have a rule for how ever detaild you need it to be |
# |
Aug 6th 2008, 19:53 |
polerin |
you could say <body class="items details"> |
# |
Aug 6th 2008, 19:53 |
polerin |
if you were in Items details |
# |
Aug 6th 2008, 19:53 |
polerin |
set the class on your body tag |
# |
Aug 6th 2008, 19:53 |
polerin |
that's actually really easy |
# |
Aug 6th 2008, 19:52 |
batcoder-7 |
polerin: i need to highlight each link that the page is on as well, like change the class to current |
# |
Aug 6th 2008, 19:51 |
polerin |
or whatever is neccisary given your division of main menu items |
# |
Aug 6th 2008, 19:51 |
polerin |
then check $this->controller or $this->action |
# |
Aug 6th 2008, 19:51 |
polerin |
array('mainPage1'=>array('submenu item 1' => '/foo/bar/1', 'submenu item 2' => '/foo/bar/whatever')); |
# |
Aug 6th 2008, 19:50 |
Hedz |
wrong person probably |
# |
Aug 6th 2008, 19:50 |
Hedz |
? |