Comments (3)
Hey! No problem; thanks for using Brief!
That's a conversation I'd like to have; it's essentially making Brief more than what it was currently meant to be. Not that I'm opposed to it, but the appeal of Brief is in its simplicity: user notifications, and nothing more.
I'd consider adding this feature; it wouldn't be too big of a deal. Can you expand on how you'd use that feature, if Brief had it? (I'm basically looking for context as to the use-case.)
from craft-brief.
Yeah, I totally get you :)
Basically the person that fills the form (new entry) leaves his email in one of the fields. I would like to be able to send to that field (email) also a copy of the notification in a form of "Thank you for the submission".
Not sure if this could complicate too much of a things, but maybe adding 2 new settings in Brief that would be marked as "custom" notification where you could define which field is the email and the next one which template would you use for that custom notification.. and then in that template you could send entire entry object so we could access that entry fields.
Maybe I'm complicating stuff, and I hope someone else could post their use-cases so you could find the best way (if) to accomplish this :)
thanks
davor
from craft-brief.
That's totally within the realm of possibility. I'm actually in the process of adding something like this to Brief in the next release: custom email templates. You'd basically tell Brief which template you'd like to use for different types of notifications, and Brief will fill in those templates with the relevant data.
As for the form notifications, that'll be added in the next release, as well. It'll use a hidden action input:
<input type="hidden" name="action" value="brief/notifySubmitter">
I'm still working on how to accommodate developers who can't add another hidden action input. You can't have two action inputs, so I'd have to add functionality for Brief to run its code, then call the other controller actions. Simple, but I'm not sure I want something like that in a plugin that's trying to stay lean.
Stay tuned; I'll see about pushing that form notification feature in the next day or so!
from craft-brief.
Related Issues (20)
- Notification is send, even if the post is still in draft
- Error after installing HOT 3
- Error when using {{ title }} in the email subject input HOT 3
- Add optional 'Digest' option for busy websites. HOT 5
- Add 'API' like functionality HOT 1
- Add ability to check if the item triggering notification is related to the user HOT 1
- Add ability to notify on saved but not enabled entries too HOT 3
- Could not instantiate mail function when using craftman Docker-based tool HOT 2
- Improper dynamic data in email body HOT 1
- Adding this to /craft/plugins breaks site HOT 3
- Notify group(s) when a new user is created.
- Feature Request HOT 1
- Allow the option to directly notify users instead of specifying a User Group.
- Correct the MSO link address. HOT 1
- Update to 2.0.1 breaks admin/settings HOT 2
- Notify per entry HOT 5
- Where do I Select a Section? HOT 2
- Include user info in body? HOT 1
- Craft 3?
- Doesn't notify for new disabled entries, no matter toggle status.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from craft-brief.