| View previous topic :: View next topic |
| Author |
Message |
Peter Pitt
Joined: 20 May 2006 Posts: 114 Location: Egypt
|
| How can i create an add function that doesn't show up the confirmation text via flash, but onto the same view? |
| |
|
|
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
| ~apilookup setflash |
| |
|
|
Peter Pitt
Joined: 20 May 2006 Posts: 114 Location: Egypt
|
No, i mean... like instead of loading a new page, it just shows a message on the view
In case that they want to add some more |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
Need to explain it more
Using ajax? |
| |
|
|
Peter Pitt
Joined: 20 May 2006 Posts: 114 Location: Egypt
|
Hmm... no
For example, on the tutorial
When you add a post, it sends you to a new page (via flash)
I would like to load the add view and show a confirmation message instead of the other page |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
| And the models are in svn also |
| |
|
|
Peter Pitt
Joined: 20 May 2006 Posts: 114 Location: Egypt
|
| No need to keep the data, as the entry was added |
| |
|
|
AmeliaR
Joined: 31 May 2006 Posts: 142
|
| Peter Pitt, what about a JS alert? |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
| Peter Pitt, $this->redirect('/same/page'); |
| |
|
|
Peter Pitt
Joined: 20 May 2006 Posts: 114 Location: Egypt
|
| I want to keep the use of javascript at the minimun |
| |
|
|
| Page 1 of 2 |
Goto page 1, 2 Next |
|