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

Stopping default entry save behavior

Development and Programming

jwindhorst's avatar
jwindhorst
99 posts
14 years ago
jwindhorst's avatar jwindhorst

I’m working on creating a workflow module. I have most of the pieces in play however, I need the ability to stop EE from saving an entry directly into the exp_channel_data and exp_channel_titles tables. I tried returning FALSE from the save function inside my custom fieldtype ft.workflow.php which seems to stop the insert statement on the exp_channel_data table, but it still puts an entry in the exp_channel_titles table. Is it possible to accomplish this without hacking the core files?

       
jwindhorst's avatar
jwindhorst
99 posts
14 years ago
jwindhorst's avatar jwindhorst

One more issue that I’m stuck on. I’m creating “shadow” tables that mimick the “live” tables to make this all work. However, EE in all it’s wisdom, creates a new column in the exp_channel_data table for each custom table. Is there a hook on that operation so that I can make the same change to my shadow version of the exp_channel_data table?

Any help is appreciated and I’m working with my boss to allow me to submit this module out to the community if/when we get it to work correctly.

       
jwindhorst's avatar
jwindhorst
99 posts
14 years ago
jwindhorst's avatar jwindhorst

Still stuck on these issues if anyone out there has anything to offer it would be 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.