Hi Sir,
I was working with 1.2.9 for a long time and never updated the
cakephp.
But when i updated the cake to 1.3 the save is working but the flash
message is not showing.
Please help me as i want to integrate facebook connect to my app but
cakephp 1.2.9 is not working correctly with facebook login.
Any help is much appreciated.
Thanks in advance.
Below is code:
function add() {
$this->layout = 'innerpage';
if (!empty($this->data)) {
$this->City->create();
if ($this->City->save($this->data)) {
$this->Session->setFlash(__('The city has been
saved', true));
$this->redirect(array('action' => 'index'));
} else {
$this->Session->setFlash(__('The city could not
be saved. Please,
try again.', true));
}
}
$countries = $this->City->Country->find('list');
$this->set(compact('countries'));
}
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php