Jump to content

Return Error Message In Events And Override $_Post Value


Recommended Posts

Posted

i want to make a return of error iwth preaction event , but the event is not returning any data .

also i have tried the structure event , the same .

my goal is , analyse $this->post and return error if i found some data in the post fields .

 

also override some data of post to another data to use it in the caller function like the addclient .

anyway to do this ?

Posted

i have searched all the dev docs and some other stuff . i found a reply from tyson that is not possible .

 

so i have opted for my custom solution to make what i want to do , and without hacking the core files .

 

is a tip and is not a returning error message to the controller . i will share the tip in my admin tools plugin . 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...