Re: hello

2010-08-15 Thread Jeremy Burns | Class Outfit
The guide will: http://book.cakephp.org/view/907/Developing-with-CakePHP Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 14 Aug 2010, at 19:07, kami wrote: im new to cakephp i don't know how to install it will any one guide me Check out the new

Re: Empty combo option + scaffolding

2010-08-15 Thread Jeremy Burns | Class Outfit
I would move off of scaffolds and on to your own code. Scaffolds are for quick and dirty, not production/proper sites - and you get the benefit of learning so that you won't need to rely on scaffolds in future. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com

Re: How can I display CakePHP input validation errors in a different container input

2010-08-15 Thread rez...@gmail.com
what's meant of redirect this errors for concrete input or group inputs ? really I want to help you Sorry , I can't understand what you want Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are

Re: How can I display CakePHP input validation errors in a different container input

2010-08-15 Thread Zaky Katalan-Ezra
Same here Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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

can't delete record from table

2010-08-15 Thread Tomfox Wiranata
hi, i am trying to delete a record from a table. to do that i call a different model from my controller. anyway, i can retrieve the correct data perfectly, that tells me the process is right. but i can't delete a specifi record. first i declared the foreign model in my controller var $uses =

Re: How can I display CakePHP input validation errors in a different container input

2010-08-15 Thread Petr Vytlačil
Hi I will try to describe my problem better: I have database tables addresses and user so i have two models User and Address. User haveone malingaddress (class Address) and billaddress (class Address) this is definate in model User. How is registration form where are inputs for information about

Re: How can I display CakePHP input validation errors in a different container input

2010-08-15 Thread Jeremy Burns | Class Outfit
Make some deliberate input errors in your form, and then place this in your Address model code: die(debug($this-validationErrors)); This will show you the output of your validation errors array, and then you'll know what values to extract and display. Jeremy Burns Class Outfit

Re: How can I display CakePHP input validation errors in a different container input

2010-08-15 Thread euromark
if you bake your views/forms this should be done automatically IF you set up your model relations accordingly anyway maybe somethings wrong here you should post your code for details On 15 Aug., 16:30, Petr Vytlačil petr.vytla...@gmail.com wrote: Hi I will try to describe my problem better:

i18n paginate

2010-08-15 Thread Jörg
Hello, I try to lists all items of a groups model where the I18n locale is 'deu' OR 'eng'. The problem is, if I try to set a condition to the paginate function I get a SQL error. I read in blogs and in this group that the problem is in the usage of the two different finds [find('count'),

Re: Empty combo option + scaffolding

2010-08-15 Thread Hugo M
Yeah, I use scaffolds only in backend. The problem is I'm creating new fields and modelds in the database and I don't want to update (for now) my controllers every time, so scaffolding is perfect for me (at backend). 2010/8/15 Jeremy Burns | Class Outfit jeremybu...@classoutfit.com: I would move

problem with hasOne saving

2010-08-15 Thread Tomfox Wiranata
hi i have two models: User and Address.. the relation is User hasOne Address. In my users_controller i declare it like this: var $name = 'Users'; var $hasOne = 'UserAddress'; var $uses = array('UserAddress'); now after all information are entered in the form i am saving

Re: Empty combo option + scaffolding

2010-08-15 Thread euromark
i never use scaffold... make sure your baking templates are as you need them, bake the views and simply add the missing (new) fields by hand if they are introduced later on thats almost quicker and allows you to modify the empty param and other stuff permanently. On 15 Aug., 19:49, Hugo M

Strange problem with form helper...

2010-08-15 Thread Zippoxer
I've created a simple authentication form with username and password input fields. The problem is that the password is always empty through $this-data in the controller, but username is not empty. What's the problem? Check out the new CakePHP Questions site http://cakeqs.org and help others with

Re: Empty combo option + scaffolding

2010-08-15 Thread Hugo M
Ok, thanks! I think scaffolding is a good tool but is not enough when you need something else than ABM. Anyway, I think empty values in combos should be added to scaffolding x). Too bad is not a can be null config belongs to param or something like that. 2010/8/15 euromark

Re: Session call from other app

2010-08-15 Thread Davor Ilic
Hi, does anyone know an answer for my issue? thanks 2010/8/11 Davor Ilic webfa...@gmail.com Hi, how i can use sessions in cake. My problem is i have two different apps on my webserver runing. With the one the user can registrate and login. And this one crates an session. Now the other

Route question

2010-08-15 Thread Dave Maharaj
I have my gallery controller and each gallery has a slug so the url looks like gallery/fishing (if manually typed in) Routed like - Router::connect('/gallery/:gal_slug',array('controller' = 'galleries' , 'action' = 'view'), array( 'gal_slug' = '[-_A-Za-z0-9]+','pass' = array('gal_slug' ) ) );

Re: Strange problem with form helper...

2010-08-15 Thread Sam
We need more info... can you paste your view, and perhaps your controller action? On Aug 15, 1:24 pm, Zippoxer zippo...@gmail.com wrote: I've created a simple authentication form with username and password input fields. The problem is that the password is always empty through $this-data in

Re: Route question

2010-08-15 Thread mark_story
The problem is that in your link you don't use the 'gal_slug' key for the array. So the router doesn't understand that you mean it to be a gal_slug route. The pass key in the options, isn't bidirectional unfortunately. -Mark On Aug 15, 9:02 pm, Dave Maharaj m...@davemaharaj.com wrote: I have