We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Displaying errors in the CP

Development and Programming

Fred Boyle's avatar
Fred Boyle
73 posts
16 years ago
Fred Boyle's avatar Fred Boyle

Having a difficult time trying to figure out how to display an error message similar to the required field error. Seems to be returning to the preview screen however how can my extension accomplish the same thing and not reach the “View Entry” screen.

$OUT->show_user_error() shows an error screen, and $DSP->error_message() doesn’t prevent from reaching the View Entry screen.

So how can I do a check after submit of the publish form, which I have working, but redirect back to the publish form if an error occurs and prevent the publish from completing?

Any help is greatly appreciated.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.