Re: Sending an php array value to an javascript array

2007-06-03 Thread Dr. Tarique Sani
On 6/2/07, clarkvr [EMAIL PROTECTED] wrote: I'm having an problem that I have and php array called time and an javascript that use this values. But I can't send this values to javascript. Use JSON - there is a method in Javascript helper to do just this... HTH Tarique -- My motto for

Re: Sending an php array value to an javascript array

2007-06-03 Thread Dr. Tarique Sani
On 6/3/07, nate [EMAIL PROTECTED] wrote: Ummm... http://api.cakephp.org/class_javascript_helper.html#071c99cb03d7dc41591c71a6fe44ed4f anybody? Oops! must read the complete tread before posting :) Tarique -- My motto for everyone else - Just shut up, damnit!!

RE: General gripes and questions

2007-06-03 Thread Mariano Iglesias
Hi, Aren't you the one that wrote to my private email? Anyway I answered that there are yet no official translation of the cake manual into Spanish, mainly because we're waiting for the 1.2 manual to be finished before working on it. However if you'd like to help with the 1.2 english manual I'm

Re: populate fields in edit page with no table

2007-06-03 Thread francky06l
Even without table you can use the html helper and use your model/ fieldname. You can use the field names you want, just be carefull with the check boxes if you do not pass the 'value' in the parameters (in such case, the helper will search the table for the definition of this field). On Jun 3,

bakery GUI suggestion

2007-06-03 Thread phpjoy
hey all! i have a little bakery GUI suggestion. for months i enter the bakery and think gee! that's quite annoying finding everything in the bakery!, so i decided to share that now. i really liked the old wiki gui, it was quite simple and easy to access all of the tutorials there. now when i

Re: validation

2007-06-03 Thread [EMAIL PROTECTED]
Your problem id that you invalidated the confirm_password field. Since 'confirm_password is not part of the model, that will not prevent the model from saving the rest of the data. Original function: function index() { if (!empty($this-data)) {

Re: validation

2007-06-03 Thread [EMAIL PROTECTED]
Your problem id that you invalidated the confirm_password field. Since 'confirm_password is not part of the model, that will not prevent the model from saving the rest of the data. Original function: function index() { if (!empty($this-data)) {

Re: AppController

2007-06-03 Thread [EMAIL PROTECTED]
Is AppController.php in the right location? I believe it should be: app/AppController.php On Jun 2, 10:47 pm, Oscar Burgos [EMAIL PROTECTED] wrote: hi, (again) I have a little trouble I´m trying to redefine the AppController but it´s not being executed and I don´t know why??? it is in

Re: Dynamically Create a Model and Bind it to a Table?

2007-06-03 Thread ianh
Hi, Yes the OP's original question can be answered using a single model and before each use setting the table dynamically with $this-model name-setSource(table name); I know, I have an event registration web application (http://www.eventhq.co.uk) running on exactly this model! The reason I chose

Re: Dynamically Create a Model and Bind it to a Table?

2007-06-03 Thread Divagater
imho creating a single events_data table that uses an event_id foreign key to join back the the events table is the way to go. The events_data table could have a text field that stores serialized arrays. See http://us2.php.net/serialize for details.

Re: AppController

2007-06-03 Thread francky06l
app/app_controller.php On Jun 3, 2:04 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is AppController.php in the right location? I believe it should be: app/AppController.php On Jun 2, 10:47 pm, Oscar Burgos [EMAIL PROTECTED] wrote: hi, (again) I have a little trouble I´m trying to

Apache dies when redirecting using controller-redirect()

2007-06-03 Thread AL
Hi Everyone, This might not be cake related. But I am unable to pinpoint actually where and what caused this, could be the session, could be the redirect() in controller. It will help a great deal if someone can shed some light on why this is happening or share the solution if you encountered

Re: bakery GUI suggestion

2007-06-03 Thread Dave
Agreed. I, too, miss the wiki for these same reasons. --~--~-~--~~~---~--~~ 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 from this group,

CakeForge SVN problems

2007-06-03 Thread Dave
Hey all, I've registered a project and things are going great with it on CakeForge. However, I'm unable to commit my project to the subversion repository. All the instructions they've given me haven't worked at all... Any suggestions on what I'm doing wrong? I've tried a whole series of

Re: othAuth in nao mode

2007-06-03 Thread disc
People, please help in this question. On 3, 04:13, Wole [EMAIL PROTECTED] wrote: I'm also working on fixing the nao authentication because I really need it in my app and think it will be beneficial to all. When I tried the nao mode I kept getting an error that said Uninitialized string

test suite for CakePHP 1.1.*.*

2007-06-03 Thread Tolstiy
How to use the test suite for CakePHP 1.1.*.* ? Functional tests? Fixtures? --~--~-~--~~~---~--~~ 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

Re: Select database at the model level per request?

2007-06-03 Thread francky06l
I do not see other solution than $useDbConfig, unless you use the model-query() function when you access your different named table instead of findAll / find etc .. Basically you would use classic code instead of the magic of cakePhp. Concerning the persistent connection, I think the parameter

Re: AppController

2007-06-03 Thread Oscar Burgos
Yes it´s is in the right place but it´s not being executed and I don´t know why On 3 jun, 17:51, francky06l [EMAIL PROTECTED] wrote: app/app_controller.php On Jun 3, 2:04 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is AppController.php in the right location? I believe it should be:

Re: Apache dies when redirecting using controller-redirect()

2007-06-03 Thread Eugene Bolshakov
Hi, For me apache dies very often actually (cake 1.2 latest release, winxp). I didn't have enough time to figure out why exactly, but I've noticed that it often happens when I try to use array elements which are not set (by mistake). I guess that the warning are caught by cake's error handlung

Re: AppController

2007-06-03 Thread Oscar Burgos
oh my god !!! i have been so stupid !!! my app_controller.php was in app/controllers and again, again, again... thank you On 3 jun, 17:51, francky06l [EMAIL PROTECTED] wrote: app/app_controller.php On Jun 3, 2:04 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is AppController.php in

Re: Apache dies when redirecting using controller-redirect()

2007-06-03 Thread francky06l
Maybe it's a non end loop and Apache restarts. Maybe you could use the log() into the app_controller beforeFilter method and log the current controller , action etc .. This would show if at least to get there.. I had problems of that sort when I was having quite a lot of errors in a css file

Re: Problem Uploading Files

2007-06-03 Thread francky06l
Are you sure the tmp you are accessing is into the cake folder ? Regarding the message it seems that /tmp/tmpfile is at the root not in your htdocs ... Try to log the complete file name, but I am quite sure your file name does not contains the WEBROOT directory and thus pointing to a /tmp (root)

Re: General gripes and questions

2007-06-03 Thread Bluewake
Hi, thanks. I will look for the documentation project at the cakeforge to join. Greetings, Estela Navarrete. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: bakery GUI suggestion

2007-06-03 Thread gwoo
Suggestions are more than welcome. If you have an idea for better gui, put together a mock up and submit it as an enhancement to trac. https://trac.cakephp.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake

Indexed HTML elements

2007-06-03 Thread GaZ
Hi, I'm trying to create a page to insert an entry into a database which hasMany children. All of these will be created at once (i.e. an expense item with zero or more expenseDetail children). Creating a single expense and expenseDetail is a piece of cake, but I'm not sure how to create multiple

Re: turn off scaffolding

2007-06-03 Thread Joshua Benner
Remove definition of $scaffold in the controller. see http://manual.cakephp.org/chapter/scaffolding Allen Romero wrote: I created a 'users' table then a 'user' model and a 'users_controller' and an 'index.thtml' for the 'view/users' but for some reason everything is showing up as

Re: bakery GUI suggestion

2007-06-03 Thread phpjoy
great to hear! i'd love to see a better gui for the bakery.. slimmer gui, that is. what's a mock up? :) On Jun 3, 7:42 pm, gwoo [EMAIL PROTECTED] wrote: Suggestions are more than welcome. If you have an idea for better gui, put together a mock up and submit it as an enhancement to

Re: bakery GUI suggestion

2007-06-03 Thread Samuel DeVore
http://en.wikipedia.org/wiki/Mock-up On 6/3/07, phpjoy [EMAIL PROTECTED] wrote: great to hear! i'd love to see a better gui for the bakery.. slimmer gui, that is. what's a mock up? :) On Jun 3, 7:42 pm, gwoo [EMAIL PROTECTED] wrote: Suggestions are more than welcome. If you have an idea

Sunday June 3rd, unable to register to the Bakery

2007-06-03 Thread paullwolborsky
Hi, I wanted to post commentary on Evan Sagge's Validation code, and I'd really like to contribute an article on atomic validation, but I am unable to register to your site. The User/Add action is not available. Are you doing work on the Registration, or is Registration closed and you're just

このページを表示:「 Cake Apps/Sites In The Wild」

2007-06-03 Thread 浪漫様
I added my site to that page, thanks. http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild をクリックします - クリックしても正しく動作しない場合は、コピーしてブラウザのアドレス バーに貼り付けます。 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Sunday June 3rd, unable to register to the Bakery

2007-06-03 Thread Allen Romero
I tried to register yesterday and also had problems. assumed it was a glitch in the matrix and i'd try back later. for me the screen was just blank after the submit. on a mac using firefox 2.0.0.3 On Jun 3, 3:21 pm, paullwolborsky [EMAIL PROTECTED] wrote: Hi, I wanted to post commentary on

Re: turn off scaffolding

2007-06-03 Thread Allen Romero
thx. i had turned off scaffolding but that didn't work originally. i later broke the files, by changing their names, then fixed them, resaved them and magically everything started to work again. oh well. now i'm debugging other issues :-) On Jun 3, 3:07 pm, Joshua Benner [EMAIL PROTECTED] wrote:

Added Outloud.TV

2007-06-03 Thread robdeman
Folks I just added Outloud.TV - our humble Upload Video To Amsterdam local TV project never made that $1.6 billion despide we were first, but hey, we love CakePHP! Click on http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild - or copy paste it into your browser's address bar

newb can't post data

2007-06-03 Thread Allen Romero
ok. you're gonna think i'm completey crazy (and i am) i followed the 15 min blog tutorial (which was great by the way) and i tried copying that code to post to another table in my db. i changed the names of everything to reflect this new table 'users' and the new fields. Every time I try to

RE: Added Outloud.TV

2007-06-03 Thread Mariano Iglesias
Do not create another category just for the site you added if there are NOT enough sites on that category, and if you are NOT willing to categorize. This list is not for self promotion, but to showcase work performed with CakePHP. Also, not for you but for other people, IS IT SO DAMN HARD to

Re: newb can't post data

2007-06-03 Thread Geoff Ford
Check your singular/plurals etc. Can we see some code On Jun 4, 6:24 am, Allen Romero [EMAIL PROTECTED] wrote: ok. you're gonna think i'm completey crazy (and i am) i followed the 15 min blog tutorial (which was great by the way) and i tried copying that code to post to another table in my

Re: turn off scaffolding

2007-06-03 Thread Geoff Ford
What was your debug level. CakePHP cahes models in /tmp/cache/models and I have found that on DEBUG 0 they do not update instantly, however on 1 or 2 they do. I think this might be for performance reasons On Jun 4, 6:06 am, Allen Romero [EMAIL PROTECTED] wrote: thx. i had turned off

Re: help adding an antiflood to comments system

2007-06-03 Thread chad
Hi Grant, The query is fine. I can post 1 comment fine.. it inserts to db fine and it sets the session for antiflood just fine. However, i'm not sure on how to handle the checking in the add() action in the comments controller since the comment is being posted from /news/view/$id After I post 1

Re: Sending an php array value to an javascript array

2007-06-03 Thread Alexandre Gonçalves Jacaranda
Thanks for all answers !!! And sorry to post poors details. I'm using php5 and installed prototype and scriptaculos and my application should do this: * load a page with a movie on the left; * load some slides from right; When an user play a movie the right side start to change some images.

Re: Indexed HTML elements

2007-06-03 Thread Grant Cox
For the helpers you can use model and field names that don't actually exist. So you can have $form-input('ExpenseDetail1.title'); $form-input('ExpenseDetail2.title'); $form-input('ExpenseDetail3.title'); and these will come into your controller as $this- data['ExpenseDetail1']['title'] etc.

Toronto baker needed

2007-06-03 Thread cake.developer
We are looking for a local baker, please refer to details below: We are looking for an A-player who is going to put forth an A+ effort (with great results) to join a challenging web-based project. If you have strong work ethics, are passionate about web development, bright, hardworking, highly

Checkbox implementation

2007-06-03 Thread cake_learner
I have written the below code to display checkboxes after implementing habtm helper class (from bakery) controller code: $this-set('languages', $this-Language-generateList( null, null, null, {n}.Language.language_name, {n}.Language.language_id)