Batch file script to create DB for sample project

2012-09-29 Thread Jon Thor Austen
If anyone cares, I created a Batch file script to create DB for sample project that is located here: http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html --- Here is the script, which might need very slight modification to be proper : https://gist.github.com/

Comment convertir un templates wordpress pour cakephp

2012-09-29 Thread Cakedev
Bonjour à tous j'ai un templates wordpress que j'aimerai convertir pour l'intégré à cakephp ? -- Like Us on FacekBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. T

Re: Accessing extra fiends on many to many relationship table

2012-09-29 Thread Jonathan Sundquist
If you need access to more data with in the joining table you will not be able to use a habtm model. You will need to change it into a has many model. - "The cold winds are rising" On Sep 29, 2012 9:06 PM, "gosukiwi" wrote: > This is what I've got, I have a table named Users, and a table named >

Accessing extra fiends on many to many relationship table

2012-09-29 Thread gosukiwi
This is what I've got, I have a table named Users, and a table named Lessons, users can give lessons, and the can also suscribe to other user's lessons. So my schema is something like this users table id | username 1 | mike lessons table id | name | teacher_id 1 | ... | 1 So my user

Re: Multiple file upload

2012-09-29 Thread Jonatan
Hi David, Can you upload some examples of you approach to this? Thanks! Em sexta-feira, 26 de agosto de 2011 08h13min02s UTC-3, David Cole escreveu: > > I would recommend using SWFUpload and setting up an attachment > controller and behavior. This way you can have swfupload send the > files to

Re: Reserved words in CakePHP?

2012-09-29 Thread Jamie
You may find this enlightening: http://php.net/manual/en/function.list.php On Friday, September 28, 2012 8:55:25 AM UTC-7, Brad Giessing wrote: > > I created a function called list() in a controller and it freaked out. I > guess it doesn't like that, either. > > On Wednesday, April 15, 2009 5:22

Re: Reserved words in CakePHP?

2012-09-29 Thread lowpass
On Fri, Sep 28, 2012 at 11:55 AM, Brad Giessing wrote: > I created a function called list() in a controller and it freaked out. I > guess it doesn't like that, either. That's a PHP thing. -- Like Us on FacekBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP ---

Re: Themes

2012-09-29 Thread lowpass
The file should be at: app/View/Themed/corporate/webroot/css/main.css Is that the case? On Sat, Sep 29, 2012 at 11:10 AM, hill180 wrote: > For the first time, I have to use themes in a project. > > I am using Cakephp 2.1 > > In the before filter of the app controller I have the following: > > $

Themes

2012-09-29 Thread hill180
For the first time, I have to use themes in a project. I am using Cakephp 2.1 In the before filter of the app controller I have the following: $this->theme = 'corporate'; I have the views under app/view/themed/corporate/layout/default.ctp This is working fine.. My problem is the webroot. I