Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-07-17 15:44:39

ecklesroad
Plugin Author
From: Bemidji, MN
Registered: 2008-02-22
Posts: 119
Website

register_callback with ajax updated from the Hive theme

register_callback('callbackFunction', 'article','edit');
register_callback('callbackFunction', 'article','create');
register_callback('callbackFunction', 'article','publish');
register_callback('callbackFunction', 'article','save');

I’m working on a site that has a custom plugin for some build tasks after articles are created. In the “Hive” theme, which send updates from articles via ajax, none other than the “publish” step seem to be triggered. Is there something special that has to be done for the register_callback function to work with asynchronous calls?

Offline

#2 2014-07-18 16:30:33

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: register_callback with ajax updated from the Hive theme


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

Board footer

Powered by FluxBB