Forums / Cotonti / Extensions / New Notifier module

GHengeveld
#35189 2012-08-24 07:26

Ah, I forgot to add them to the config block. The tags are assigned by cot_notifier_tags(). Here's the list:

  • NOTIFIER_SUBSCRIBED - true/false
  • NOTIFIER_TOGGLE - link to toggle subscription on/off
  • NOTIFIER_TOGGLE_URL - url to toggle subscription on/off
  • NOTIFIER_TOGGLE_TEXT - text indicating what the toggle will do: Subscribe/Unsubscribe
  • NOTIFIER_SUBSCRIPTIONS - link to list of subscriptions
  • NOTIFIER_SUBSCRIPTIONS_URL - url to list of subscriptions

Normally you'll only need to add {NOTIFIER_TOGGLE} and {NOTIFIER_SUBSCRIPTIONS} in forums.posts.tpl.