Topic cluster
Notification
A typed event or request exchanged between decoupled Zotonic components through the notifier.
View topic page9 items
The remaining keywords do not make a useful further split. All matching documentation is listed below.
observe_comment_insert/2
Notification to signal an inserted comment. ‘comment_id’ is the id of the inserted comment, ‘id’ is the id of the resource commented on.
observe_rsc_insert/3
Foldr for a resource insert, these are the initial properties and will overrule the properties in the insert request. Use with care. The props are the properties of the later insert, after escaping/filtering but before…
observe_signup/2
Request a signup of a new or existing user. Arguments are similar to #signup_url{} Returns {ok, UserId} or {error, Reason}
observe_signup_check/3
signup_check Check if the signup can be handled, a fold over all modules. Fold argument/result is {ok, Props, SignupProps} or {error, Reason}
observe_signup_confirm/2
Signal that a user has been confirmed. (map, result is ignored)
observe_signup_confirm_redirect/2
Fetch the page a user is redirected to after signing up with a confirmed identity
observe_signup_done/2
Signal that a user has been signed up (map, result is ignored)
observe_signup_failed_url/2
Signup failed, give the error page URL. Return {ok, Url} or undefined. Reason is returned by the signup handler for the particular signup method (username, facebook etc)
observe_signup_url/2
Handle a signup of a user, return the follow on page for after the signup. Return {ok, Url} ‘props’ is a map with properties for the person resource (email, name, etc) ‘signup_props’ is a proplist with ‘identity’…