Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

Obě strany předchozí revize Předchozí verze
Následující verze
Předchozí verze
skoda-ep:modules:messenger_bot_module:st_extender [29.03.2018 06:51]
jan.lorenc
skoda-ep:modules:messenger_bot_module:st_extender [29.03.2018 07:07] (aktuální)
jan.lorenc
Řádek 35: Řádek 35:
 For example: if user subscribes to `post`, he will be notified on every new `post` (article) published regardless on category of mentioned post. For example: if user subscribes to `post`, he will be notified on every new `post` (article) published regardless on category of mentioned post.
  
-==== POST_Type ​Setup ====+==== POST_TYPE ​Setup ====
  
-In SKODA options -> FB msg - global tab -> section `EXTENDER SETTINGS` you can check which post types will be available to optin to.+In SKODA options -> FB msg - global tab -> section `EXTENDER SETTINGS` you can check which POST_TYPE ​will be available to optin to.
 Editor then will be able to create corresponding option buttons in posts/​pages. Editor then will be able to create corresponding option buttons in posts/​pages.
  
 {{:​skoda-ep:​modules:​messenger_bot_module:​extender-1.png?​300|}} {{:​skoda-ep:​modules:​messenger_bot_module:​extender-1.png?​300|}}
 +
 +the optin button can be inserted: ​
 +
 +{{:​skoda-ep:​modules:​messenger_bot_module:​extender-2.png?​300|}}
 +
 +Or in texteditor shorcode: ​
 +
 +''​[fb-msg-optin-ext msg="​Message!"​ type="​POST_TYPE-ID"​]''​
 +
 +POST_TYPE ID is hard to setup/​figure out, so rather use insertion by standard TinyMCE insert button - which contains easy to select dropbox list.
 +
 +==== Publishing post with notification ====
 +
 +Publishing is the same as in standard functionality -> only change is that if some users are subscribed to this post_type, will be notified regardless of article categories.