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?
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.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.