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

getting the entry_id in publish_form_new_tabs_block on publish - quick save

Development and Programming

sabremarketing's avatar
sabremarketing
27 posts
16 years ago
sabremarketing's avatar sabremarketing

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

       
sabremarketing's avatar
sabremarketing
27 posts
16 years ago
sabremarketing's avatar sabremarketing

As it turns out, you don’t need the entry_id in this case. The new field values are still in POST…

       

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.