[Solar-talk] _flash add_ok?
Jeff Surgeson
solar at 3hex.com
Mon Oct 16 08:26:43 PDT 2006
Hi Paul
> >>> In your add method's you set a _flash value after the save() like so
> >>> $this->_flash->set('add_ok', true) however appear to not do
> >>> anything with it.
> >>>
> >>> Is it there just in case, or does it have another purpose that I am
> Hi Jeff, going back through archived emails (as usual I am terribly
> behind). Based on your comment/reminder above, you'll find in the
> most-recent Solar release that I'm now reading the flash setting from
> the "add" action in the "edit" action, after the redirect. At about
> line 450 in Solar_App_Bookmarks:
>
> // was this from a quickmark or an add operation?
> if ($this->_session->getFlash('add_ok')) {
> $form->setStatus(true);
> $form->feedback = $this->locale('SUCCESS_ADDED');
> }
>
>
> Hope this helps, let me know if it does not.
Thanks I saw that :-)
--
Jeff Surgeson / South Africa
More information about the solar-talk
mailing list