Hi,
I wanted to ask if there is a problem with the "check-messages".
The messages are displayed when editing but if I have saved data or now when checking for deletion no messages are displayed.
For example:
Event-Tab:
{fn:delete_article}
{fn:check_delete_result}
{redirect:index}
Thanx F.
I wanted to ask if there is a problem with the "check-messages".
The messages are displayed when editing but if I have saved data or now when checking for deletion no messages are displayed.
For example:
Event-Tab:
{fn:delete_article}
{fn:check_delete_result}
{redirect:index}
Thanx F.
Well what do you have in check_delete_result?
Hi,
this in data provider:
{var:save_beob_new}
this in values setup:
true:{success:beob saved successfully.}
false:{error:saving the beob failed.}
just i have delete this check and display only the message with {success: message…..} in view events
:-)
this in data provider:
{var:save_beob_new}
this in values setup:
true:{success:beob saved successfully.}
false:{error:saving the beob failed.}
just i have delete this check and display only the message with {success: message…..} in view events
:-)
And what does the debug show
Scratch that never mind
There was a change to the save data functions several versions ago, you need to check for {var.empty:savefunction}
If the save was successful the savefunction returns a copy of the data it saved. If it fails it will be empty.
There was a change to the save data functions several versions ago, you need to check for {var.empty:savefunction}
If the save was successful the savefunction returns a copy of the data it saved. If it fails it will be empty.
This topic is locked and no more replies can be posted.