Update Message

ExpressionEngine 1.x

Back to this add-on's main page
View Other Add-ons From Laisvunas


You must be logged in to post.

Manually call Update Message extension?

Support Request

Alex Roper
Alex Roper

I’m using PHP in a template to manually update the status of an entry. Like this:

      $data = array(‘status’ => ‘Paid’);
      $sql = $DB->update_string(‘exp_weblog_titles’, $data, “entry_id = ‘$entry_id’”);

Is there any way I can manually call Update Message in this template?

Alex Roper
# 1
Alex Roper

Nevermind! This works already without having to manually call Update Message. I must have had something setup wrong initially.

It works perfectly wether I’m updating an entry status through the control panel, through a SAEF, or with the script I’m using above.