Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented: Message handler system and workflow event option drop down menu #13

merged 2 commits into from
Oct 16, 2014


Copy link

Implemented: Url link shorten handler workflow event option drop down menu
Implemented: Message handler system and workflow event option drop down menu

Hello NXC,

In the past if you only wanted to customize the message or format of message posted to a social network you had to override a custom 'PublishHandler' for each social network.


Our pull request today provides for specific customization of only the message for each social network.

Our pull request provides for a new workflow event option 'Message Handler' drop down select menu populated with each 'MessageHandlers' ini setting class.

This makes it simple for admins to use this feature to customize the message handler to be used for each social network instead of just one global ini settings based default message handler for all social networks.

The order of message handlers displayed in the workflow event options drop down is configurable via ini settings order, first listed, first displayed.

We think this improvement is worth of a pull request because it increases the flexibility to customize only the message text / format / etc. used for each social network or for all (except linkedin) via workflow event options instead of by customizing the 'PublishHandler' for each social network which is most often unnecessary.

Our pull request today is based upon our last pull request #12 changes since we reuse many small parts. Be certain to merge #12 first before merging this pull request.

LinkedIn Warning

Warning: Due to the uniqueness of the LinkedIn share API we found that it was best to separate the message handler functionality into it's own handler to allow for maximum flexibility. In future use or upgrades of this extension to include this functionality for LinkedIn sharing to work ... the admin must change the related workflow event options and must select the 'LinkedIn' message handler in the drop down select menu.

The rest of the default social networks (Twitter, Facebook) work by default with no workflow event option changes required but even while not required it is best to make a selection using the 'Message Handler' drop down select menu.


Please let us know what you think! We are very excited with our recent progress on this project.

Brookins Consulting

SerheyDolgushev added a commit that referenced this pull request Oct 16, 2014
Implemented: Message handler system and workflow event option drop down menu
@SerheyDolgushev SerheyDolgushev merged commit 451f77c into nxc:master Oct 16, 2014
@brookinsconsulting brookinsconsulting deleted the message-handler-system branch October 25, 2014 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants