when using ajax i always set the debug to 0 before rendering the view.
You can do that
in the controller by doing Configure::write('debug', 0). That will
only set the debug temporarily
so it should solve your problem.
On Nov 12, 6:38 am, Alberto Dominguez
wrote:
> Hi,
>
> I'm using CakePHP to gen
many encodings, I wonder why textmate,
which is not
free, cannot.
On Sep 10, 11:45 pm, Martin Westin wrote:
> On Sep 10, 1:05 pm, jason m wrote:
>
> > The only downside of textmate is that it doesn't really
> > support any
> > other encodings besides UTF8.
>
> > J
I have used textmate, coda, eclipse, netbeans, and aptana on Mac. For
me,
textmate has worked the best with the cakephp bundle. Although it is
not free,
I feel that I am the most productive on textmate because it uses a
fraction of
the memory of the Java based editors and is faster than coda. The
I have a cakephp 1.2 app (1.2.2.8120) and I am trying to change the
mime-type for Japanese cell phones on certain pages with this one line
of code in the app/webroot/.htaccess file:
AddType application/xhtml+xml .xhtml
This works for .xhtml files uploaded directly to the webroot folder,
but regul
assuming your relations are setup correctly in the models, you
probably
just need to use the recursive in the movies controller.
$movies = $this->Movie->find('all', array('recursive'=>2));
that should give you a list of celebs data for each cast. then just
use a
pr($movies) to see what is in the
I think you should look into one of the methods using the Set class
when
combining results from a count query like this. I'm not sure exactly
which
set method you should use but maybe Set::combine.
http://book.cakephp.org/view/662/combine
I think there is nothing wrong with using a foreach to co
+1 for wildflower. I'm not sure if it's done yet but I think the
wildflower developer wanted to make it into a plugin so you could just
pop it into your plugin folder and use it right away, while the rest
of your app is separate.
On Jan 24, 6:15 pm, "ache...@gmail.com" wrote:
> You might look in
Also, the first line of the find method description says that it
returns a single row as a resultset array. That might have been true
for cake 1.1 but for 1.2 I generally use the find method for basically
any kind of read from the model, and this method if probably the one I
use most and therefore
One of the most confusing areas of the API when pre-release versions
of cake 1.2 came out was probably the Model::find method. I think the
cookbook covers it very well, but just by looking at the api, you
wouldn't really know how to use it. A simple link to the cookbook in
the commend will probabl
usually you would include the css in the head tag. also the things i
would try are:
1) set the debug level to 2 in config/core.php if it's not already.
2) there might be an error somewhere else in your code
--~--~-~--~~~---~--~~
You received this message because you
i think all of the new find methods like 'count', 'all', 'first', etc
take a second parameter which is an array with all the options.
See api.cakephp.org.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" grou
i think it should be
return $this->find('count', array('conditions'=>$conditions));
On Dec 30, 2:59 pm, gearvOsh wrote:
> All I did was this:
>
> return $this->find('count', $conditions);
> return $this->findCount($conditions);
>
> $conditions = array('OR' => array(
> 'Friend.user_id' =
I have had a lot of luck with fckeditor in my cake projects. There is
also a tutorial for it in the bakery.
On Nov 14, 5:30 pm, "Aneesh S" <[EMAIL PROTECTED]> wrote:
> thanks, but i need more options yahoo would be my choice...
> Aneesh S
--~--~-~--~~~---~--~~
I attended the cakephp conference in tokyo last saturday. Many
different people presented various things about cakephp such as
cakephp testing, and general information about cakephp. Also Garrett
Woodsworth presented about the state of cakephp and about the cakephp
roadmap. One interesting point I
There are many different server configurations and I too have had
problems installing cakephp. I guess the first step would be to see if
php is working. You could do that by placing a php file there with the
code . That should print out a bunch of your php
settings.
If you httpdocs is your webroo
I've had success with media temple dedicated virtual servers. They are
about $50/month (a little less if you pay a year in advance) and I
setup cake many times with no problems so far. Speed is pretty good
and also the support was always quick and helpful. It was also easy to
manage clients and se
I have a method that runs a bunch of define statements for
localizations stored in a database.
function loadAll($language = 'english',$group=null){
$localizations = $this->Localization->findAll("",array('name',
$language));
foreach($localizations as $locali
How about if you want a list with two fields like Post.id =>
Post.title?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe
18 matches
Mail list logo