Skip to content
nmpetkov edited this page Feb 11, 2013 · 5 revisions

Hooks

Newsletter provides and subscribes hooks. To edit hooks, take a look at the Hooks page in Newsletter admin area.

Subscriber hooks

It is implemented form_edit subscriber hook. This is mainly to be Scribite 5 compatible, to be able to edit html texts with online editor such as CKEditor or other supported by Scribite module. It is possible to edit Header message or even whole content for newsletter, which is sending to subscribers.

To enable this feature, go to Hooks in Scribite admin panel, and just click on checkbox next to Newsletter module. Same can make in Hooks, Newsletter module admin panel - here drag Scribite provider hook to Newsletter subscriber hook.

Provider hooks

  1. Subscribe to Newsletter (ui_hook)

This hook displays a checkbox for subscribing the Newsletter during registration: Subscribe to Newsletter hook

If you'd like to activate this hook, the Hooks page in Newsletter admin area should look like this: Subscribe to Newsletter hook - hook settings

You configure it at Newsletter Settings in Newsletter admin area: Subscribe to Newsletter hook - settings in adminarea