URL routing

2007-10-19 Thread Aroha
I am trying to figure out how to make the root folder redirect to a page rather than the typical controller/action. I am attempting a small CMS and would like to have friendly URLs. I would like to have the controller be used if one is available, but if there is not a controller which matches the

Re: Edit form is inserting rather than updating (V 1.2)

2007-10-16 Thread Aroha
Adding the hidden field did work! Thank you Adwin --~--~-~--~~~---~--~~ 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, send

Re: Edit form is inserting rather than updating (V 1.2)

2007-10-16 Thread Aroha
I will update to the latest build, thank you. --~--~-~--~~~---~--~~ 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, send ema

Edit form is inserting rather than updating (V 1.2)

2007-10-15 Thread Aroha
I am on version 1.2 the alpha build. I am attempting to edit a post. My form is as follows: create('Post', array('action' => 'edit')); echo $form->input('title', array('label' => 'Title', 'size' => '30')); echo $form->input('body', array('label' => 'Post', 'rows' => '10','cols' => '40')); echo $f