Hello.
I’m working on a table extension that will allow me to add table custom fields to my weblogs.
I got stuck at situation where my hook function is called to write the table data in the database but at this stage the ‘entry_id’ field is empty (I would need it to write which row belongs to which weblog entry to the table data).
My function where I write data to the database is currently being called so: ‘method’=>’edit_prefs_post’, ‘hook’=>’sessions_start’, ‘settings’=>”, ‘priority’=>9
The problem is that entry_id isnt yet assigned in this stage to a weblog entry because its written in the weblog database after that.
How else or with which hook and priority can I get entry_id?
Many thanks in advance!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.