filter:widgets.getAreas - allows plugins to define widget locations in tpls

v1.18.x
psychobunny 11 years ago
parent 8f972d8cdc
commit fa5f528fb5

@ -410,7 +410,11 @@ var nconf = require('nconf'),
});
app.get('/themes', function (req, res) {
res.json(200, {});
plugins.fireHook('filter:widgets.getAreas', [], function(err, widgets) {
res.json(200, {
widgets: widgets
});
});
});
app.get('/testing/categories', function (req, res) {

Loading…
Cancel
Save