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.

Which Extension Hook to use

February 09, 2010 9:51pm

Subscribe [3]
  • #1 / Feb 09, 2010 9:51pm

    escape

    20 posts

    I’ve created an extension that I would like to execute when a user submits a new weblog entry or when they update an existing weblog entry.

    Which extension hook or hooks should I use to accomplish this?

    Thanks,
    Chris

  • #2 / Feb 10, 2010 8:25am

    BridgingUnit

    214 posts

    Hi there,

    You’ll need to look at the various submit_new_entry hooks, depending on at which point you want your extension to intercede.

  • #3 / Feb 10, 2010 8:53am

    silenz

    1651 posts

    If you want to support Quicksave you might also want to use publish_form_start and test for $which == “save”

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

ExpressionEngine News!

#eecms, #events, #releases