I created an extension that creates a new tab and some fields. The only problem is that when you publish a new weblog and use “Quick Save”, it doesn’t pull in the new values to the new fields I added to the new tab because i don’t know how to get the entry_id in this case. Normally i could get it from POST or GET if it was in an edit page, but there doesnt seem to be an entry_id for the quick save publish page. But it does somehow appear in a hidden field at the top of the form, but I don’t want to use javascript to get that value.
I guess I could check the DB for the newest entry into the table, but i’m not sure how reliable that is.
Is there something built in that I can use to get the entry_id in the publish_form_new_tabs hook?
Gary
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.