ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Expression 2 hooks

January 18, 2011 5:50am

Subscribe [3]
  • #1 / Jan 18, 2011 5:50am

    Ace Prod

    111 posts

    Hi,

    I am really trying to get my head around hooks, but I find the documentation really lacking.
    Basically, this is what I want to do:
    On submission of a new entry, contact another database, update an entry field and then add the data to the expression database.

    Does a hook in Expression 2 allow me to do that?

    Thanks.

  • #2 / Jan 18, 2011 6:28am

    Neil Evans

    1403 posts

    http://ellislab.com/expressionengine/user-guide/development/extension_hooks/cp/content_publish/index.html#entry_submission_absolute_end

    seems quite likely this is what you want… Although i would prefer more documentation in the hooks… this one seems quite well labelled!

  • #3 / Jan 18, 2011 6:44am

    Ace Prod

    111 posts

    Am so used to needing this functionality from the front end I forgot to check the control panel hooks - doh!

    Thanks, will look into this.

    Would still like a better (more entry level) guide to writing plugins/extensions though.

  • #4 / Jan 18, 2011 7:53pm

    Sue Crocker

    26054 posts

    Thanks for the assist, Nevsie.

    We’d like more information too, would be a best seller. 😊

    Don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases