# |
Aug 7th 2008, 11:03 |
franko |
Fatal error: Cannot redeclare class Set in /var/www/.... on line 0 |
# |
Aug 7th 2008, 11:03 |
franko |
I'm deploying cake onto a server, getting this error suddenly - has anyone encountered it? |
# |
Aug 7th 2008, 11:03 |
_psychic_ |
haha |
# |
Aug 7th 2008, 11:01 |
tomas- |
that i can just read it as documentation |
# |
Aug 7th 2008, 11:01 |
tomas- |
damned cake code base being so clean |
# |
Aug 7th 2008, 11:01 |
tomas- |
gah, $this->paginate('Model',array('cond1 = ...')) |
# |
Aug 7th 2008, 10:57 |
tomas- |
is it possible to tell $this->paginate() some conditions parameters? I am doing a FULLTEXT search and need to pass "MATCH(cols) AGAINST ('phrase')" to the WHERE |
# |
Aug 7th 2008, 10:57 |
Matt1 |
like if I have english as locale, how would I get 'EN' ? |
# |
Aug 7th 2008, 10:56 |
Matt1 |
is there some array/object I can echo out when debugging the language setting for the site language ? |
# |
Aug 7th 2008, 10:52 |
_psychic_ |
and this: http://bakery.cakephp.org/articles/view/ldap-datasource-for-cakephp |
# |
Aug 7th 2008, 10:51 |
webpigeon |
mmm, i'll have a look |
# |
Aug 7th 2008, 10:51 |
_psychic_ |
you can look at the core datasource(s) for an idea though |
# |
Aug 7th 2008, 10:51 |
webpigeon |
damn, thought so, Thanks anyway :) |
# |
Aug 7th 2008, 10:51 |
_psychic_ |
still in the works |
# |
Aug 7th 2008, 10:51 |
_psychic_ |
no official docs yet |
# |
Aug 7th 2008, 10:50 |
webpigeon |
Hello everyone, I was wondering if anyone knew where I could find documentation on datasources (and possibly any documentation on how to write them). I've looked around but I can't seem to fine anything :/ |
# |
Aug 7th 2008, 10:49 |
loki_racer |
chrysanthemum: I usually put it in an element |
# |
Aug 7th 2008, 10:49 |
chrysanthemum |
Is the layout the correct place to put navigation? |
# |
Aug 7th 2008, 10:48 |
loki_racer |
it only seems to happen on my index page |
# |
Aug 7th 2008, 10:48 |
loki_racer |
any ideas |
# |
Aug 7th 2008, 10:48 |
loki_racer |
in my layout echo $javascript->link('effects.core.min'); works but $javascript->link('effects.core.min',false); does not even though I have echo $scripts_for_layout; in my <head> |
# |
Aug 7th 2008, 10:45 |
chris12349 |
_psychic_: thanks, I'll take a look at that |
# |
Aug 7th 2008, 10:45 |
stevieboy |
_psychic_: will do |
# |
Aug 7th 2008, 10:45 |
_psychic_ |
stevieboy: np just trying to narrow the scope so I can help |
# |
Aug 7th 2008, 10:44 |
_psychic_ |
chris12349: use this technique http://bakery.cakephp.org/articles/view/creating-reusable-elements-with-requestaction |
# |
Aug 7th 2008, 10:44 |
stevieboy |
sorry for bugging you |
# |
Aug 7th 2008, 10:44 |
chris12349 |
_psychic_: correct |
# |
Aug 7th 2008, 10:44 |
stevieboy |
_psychic_: i guess i just dont know my problem yet... i'll start and get back if I have a more explicit problem |
# |
Aug 7th 2008, 10:44 |
_psychic_ |
you can use it anywhere in your app |
# |
Aug 7th 2008, 10:44 |
_psychic_ |
chris12349: are you using an element to display the menu? |
# |
Aug 7th 2008, 10:43 |
chris12349 |
_psychic_: well I put it there because it will only work in /menu/* |
# |
Aug 7th 2008, 10:43 |
_psychic_ |
chris12349: probably don't need it in app controller |
# |
Aug 7th 2008, 10:43 |
_psychic_ |
stevieboy: what part of that do you need help with? |
# |
Aug 7th 2008, 10:43 |
chris12349 |
_psychic_: It's a horizontal drop down so it uses findallthreaded to build it |
# |
Aug 7th 2008, 10:42 |
stevieboy |
_psychic_: yes, i know that. my prob is that I want the user to arrange items at will (javascript) and want to store the sequence for later reloading |
# |
Aug 7th 2008, 10:42 |
primeminister |
TommyO: bake |
# |
Aug 7th 2008, 10:42 |
TommyO |
primeminister: what's the bug related to? |
# |
Aug 7th 2008, 10:42 |
_psychic_ |
what's in the menu? |
# |
Aug 7th 2008, 10:42 |
_psychic_ |
chris12349: add the method to the menu controller |
# |
Aug 7th 2008, 10:41 |
_psychic_ |
$data['Model']['field'] = 'value'; |
# |
Aug 7th 2008, 10:41 |
_psychic_ |
stevieboy: where $data is a keyed array after your model name and it's fields |