I have two controllers : slideshows and slides. One slideshow can have
many slides.

I'm editing my slideshow that have for example 9 slides :

(photoslideshows/edit/1).

Near each slide i have action from other controller : slides/delete/id
so i can delete each photo from this slideshow.

$html->link('Delete', "/slides/delete/".$slide['Photoslide']['id'],
              null,'Jestes pewien?') .'<br />' ;

In my slides controller i have action:
function delete($id)
{
    $this->Photoslide->del($id);
    $this->flash('Slide with id: '.$id.'deleted', '/photoslideshows/
slideshow_list');
}

After delete action i want to get back to my slideshow that i
currently editing not to slideshow_list of  all slideshows.

How to do this? Please help.

In PHP i use $_SERVER['HTTTP_REFERERR']  or $_SERVER['PHP_SELF'] . How
can i do this in CAKEPHP


--~--~---------~--~----~------------~-------~--~----~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to