Re: insert multiple chekbox values
already try that.but i am unable to do that trough this method On Mon, Apr 6, 2009 at 9:25 PM, jsundquist jsundqu...@gmail.com wrote: You should be able just do a $this-Moviegenre-save($this-data) The save function will loop through your array and save all the data into the correct fields along with the value set by your check box. On Apr 6, 4:10 am, Ranju hello.ra...@gmail.com wrote: hello i want to insert multiple chekbox values... View File ?php echo $form-input('Moviegenre.genreid[]',array('label'=false, 'type'='checkbox','multiple'=true,'value'=$genre['Genre']['id'])); ? Controllercode $genreid= $this-data['Moviegenre']['genreid']; foreach($genreid as $key = $value) { $query = insert into moviegenres(genreid)values($value); $update = $this-Moviegenre-query($query); } Its not work --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: File Field not save
Ya, I am using cakephp 1.2. what I use On Fri, Apr 3, 2009 at 7:45 PM, brian bally.z...@gmail.com wrote: Ranjana, are you using Cake 1.1? That looks like the older syntax. If 1.2, then use what mscdex stated. On Thu, Apr 2, 2009 at 8:28 PM, mscdex msc...@gmail.com wrote: On Apr 2, 4:29 pm, Ranjana Sriavastava hello.ra...@gmail.com wrote: ?php e($form-file('Cele/cele_image', array('class' = 'fullwidth'))); ? ?php echo $html-file('Cele/cele_image'');? use both but its not save The second one form should be $form-file (not $html-file), but also you should be using Cele.cele_image instead of Cele/cele_image. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: File Field not save
?php e($form-file('Cele/cele_image', array('class' = 'fullwidth'))); ? ?php echo $html-file('Cele/cele_image'');? use both but its not save On Thu, Apr 2, 2009 at 10:39 PM, brian bally.z...@gmail.com wrote: I wouldn't expect much more than a guess from anyone unless you post some code. On Thu, Apr 2, 2009 at 1:00 PM, Ranju hello.ra...@gmail.com wrote: hello I want upload file and store. in my project file is upload but not save in table and other filds is save in table. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Site powered by CakePHP
pls off display query. On Thu, Oct 9, 2008 at 1:28 AM, dezpo [EMAIL PROTECTED] wrote: Hello bakers, Just wanted to show you what I have did in the past 2 months using cakephp. This is my new site about car fans. If you have time please try to test it or even join this project. Thank you. www.autolive.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: missing view
default.thml page created under Views. On Mon, Sep 8, 2008 at 9:57 PM, gabriel [EMAIL PROTECTED] wrote: Hi, I am new to cake and are really frustrated with the basics. I have created a default.thml in layouts, with the code ?PHP echo $content_for_layout; ?, then I created a test.thtml in pages, I point the server to it and get a missing view error - anyone any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: missing view
Yes On Tue, Sep 9, 2008 at 1:33 AM, Donkeybob [EMAIL PROTECTED] wrote: If its Cake 1.2 then its a default.ctp file. . . .right? On Sep 8, 2:56 pm, Ranjana Sriavastava [EMAIL PROTECTED] wrote: default.thml page created under Views. On Mon, Sep 8, 2008 at 9:57 PM, gabriel [EMAIL PROTECTED] wrote: Hi, I am new to cake and are really frustrated with the basics. I have created a default.thml in layouts, with the code ?PHP echo $content_for_layout; ?, then I created a test.thtml in pages, I point the server to it and get a missing view error - anyone any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: dropdown with country,state,city
I know that , iwant drop down with pach country,state,city. On Mon, Sep 8, 2008 at 1:58 AM, Bernhard J. M. GrĂ¼n [EMAIL PROTECTED] wrote: Yes it is possible. Look into the manual (FormHelper - input (select box)). There are many examples you can look at. 2008/9/7 Ranju [EMAIL PROTECTED] I want implement dropdown with country ,state,city.It is possible on cakephp .pls help me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: forget password
I also do that custom programming. I want know which typpe do that with cakephp. secondly i want implement captcha with registration page .this is urgent. pls help me. thanks On Wed, Sep 3, 2008 at 9:33 AM, Graham Weldon [EMAIL PROTECTED] wrote: Hey Ranjana, I would make the following suggestion: Make it a password reset system instead of a reminder system. This allows you to keep your password encrypted, and still email users with information, without compromising security. Once a user requests a password reset (via the website) send them off an email with a unique key that is stored against their user id in the Users table. This key field will be left empty or null if there is no password reset request in progress. Then create an action on your users controller that the user will go to when they have the key in their email. This action should check the email address, username, key, and if all match successfully, provide a password reset input, where they can choose their own new password. I hope this gives you a little direction on what you need to be doing, and how to achieve it. Cheers, Graham On Wed, Sep 3, 2008 at 1:35 PM, Ranjana Sriavastava [EMAIL PROTECTED] wrote: hello I wnat to forget passord via email id and send email to user email id with cakephp. On Wed, Sep 3, 2008 at 4:48 AM, Graham Weldon [EMAIL PROTECTED]wrote: Hey Ranjana, Were you looking to create a password reminder feature for a site you are building? Provide a little more detail about what you are trying to achieve, and someone will be able to provide some direction or assistance. Cheers, Graham On Tue, Sep 2, 2008 at 5:18 PM, Ranjana Sriavastava [EMAIL PROTECTED] wrote: I am new with cakphp. I want forget password with cakepho. so pls help me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: captcha
I also try that ,but i unable to imalepmet captcha with cakephp. On Wed, Sep 3, 2008 at 11:35 PM, Tankist [EMAIL PROTECTED] wrote: http://bakery.cakephp.org/articles/view/improved-captcha-component try it. Very simple. On Sep 2, 9:29 pm, Ranjana Sriavastava [EMAIL PROTECTED] wrote: I am new with cakephp. I want implement captcha in own site but i am unable to implement captcha. pls hep me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
forget password
I am new with cakphp. I want forget password with cakepho. so pls help me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
set new theme
hello I am new with cakephp. I want impement new theme with cakephp. so pls help me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
scaffold
Hello I want remove some fields from scaffold views. which type that possible pls help me. thanks Ranjana --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
captcha
I am new with cakephp. I want implement captcha in own site but i am unable to implement captcha. pls hep me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
dropdown
I am new with php. I want implement country,state,city drop down with cakephp. so pls help me. thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: forget password
hello I wnat to forget passord via email id and send email to user email id with cakephp. On Wed, Sep 3, 2008 at 4:48 AM, Graham Weldon [EMAIL PROTECTED] wrote: Hey Ranjana, Were you looking to create a password reminder feature for a site you are building? Provide a little more detail about what you are trying to achieve, and someone will be able to provide some direction or assistance. Cheers, Graham On Tue, Sep 2, 2008 at 5:18 PM, Ranjana Sriavastava [EMAIL PROTECTED] wrote: I am new with cakphp. I want forget password with cakepho. so pls help me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---