-
Notifications
You must be signed in to change notification settings - Fork 508
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
REQUEST: Add new FILTERs to conversations/view.blade.php for Conversations Toolbar #4279
Comments
…fore_nav - closes #4279
Two actions added ( |
I want to insert additional HTML at those locations, which is why I used a Filter. |
See "Actions and Filters" in the Guide: https://github.com/freescout-help-desk/freescout/wiki/Modules-Development |
Ok, well maybe I am not understanding how an Action works, but how can I modify the toolbar html (to add another button) with an action? |
You have to develop custom module where actions and hooks can be used to insert HTML content. It is the only proper way to add something to the FreeScout web interface. |
Yes, I have created custom module.
However, you have added ACTIONS not filters, so since an action does not return anything back to where is was fired from, there is no way for me to add a new button to the toolbar. Again, if I am mis-understanding how actions work, please correct me. |
Okay, so with the Action I figured out I can ECHO what I want to insert. Is this the correct way to do this?
|
Yes. |
Based on FreeScout v1.8.154 I would like to request the following additional two filters be added to :
/resources/views/conversations/view.blade.php
conversation.toolbar.convinfo.before
conversation.toolbar.convinfo.after
These will allow you add HTML code in the conf-info area of conversations toolbar before ASSIGNEE or after STATUS.
For the code, I am not sure if this is the proper way to do it, but I modified view.blade.php and it works.
See line 75 and 126 for the changes in attached view.blade.php:
view.blade.php.txt
The text was updated successfully, but these errors were encountered: