Does Django CMS have a contact form plugin which when submitted will send an e-mail to both my e-mail and the submitter's e-mail?
I plan to have a form where the field only contains the submitter's name and e-mail then the submitter will receive an e-mail with an attached pdf
There are plugins available, I've personally created my own in the past as every site had different requirements (form fields, captcha mechanism etc). There were some that offered captcha.
Here's one created recently, I haven't tested this personally: https://github.com/juliarizza/djangocms_contact_form
Another plugin last updated 2 years ago:
https://github.com/maccesch/cmsplugin-contact
Perhaps the only feature-complete version would be aldryn-forms. Its UX is rather poor though, eg the email notifications for the admin should be enabled on the Form plugin, but the email notification for the user should be configured on the Email field plugin.
There's also a generic project template which utilizes this plugin along with its recaptcha v3 and bootstrap4 packages - https://gitlab.com/what-digital/djangocms-template
Related
So I'm working on this django web app and I want to create a contact me form for my client. My client wants the users of his website to be able to send him emails directly from the form available on the platform. But my client uses a free yahoo email address.
I'm kind of confused of where to begin. But here is my suggested approach see if you can give me an advice:
1- create a form in the forms.py with the different fields of the form.
2 - link the form to the template.
3- create the view for the contact form.
4- add the path in the url pattern.
I read an article that says I need to go through an email service like SendGrid to actually send an email. But it said that I need a professional account to be able to do it.
I really appreciate your attention.
Your way to go looks good.
You do not need any sending service, as long as you have a proper SMTP account to use for sending.
Just add the SMTP credentials to your settings.py and you can use the django core functions to send email messages.
https://docs.djangoproject.com/en/4.0/topics/email/#send-mail
https://docs.djangoproject.com/en/4.0/topics/email/#smtp-backend
Im new to using Spree . We are using Solidus which is a fork of Spree 2.4. I would like to customize the checkout flow in my application. For a signed in user we dont want to show the form for shipping address, billing address, contact information and payment information as we need to prepopulate those fields with the customers information that we have in our database.
I went through the checkout flow docs at https://guides.spreecommerce.org/developer/checkout.html, but still dont have any idea how i can achieve the above . Can someone please guide me as to how can i modify the checkout form to hide the shipping address, billing address, contact information and payment information for a signed in user ?
Thank You
You can easily replace or override views frontend with your own version. To generate frontend in your project
rails generate spree:frontend:copy_views
The checkout views should be in this folder
YOUR_APP/app/views/spree/checkout
The views are coded with ruby erb.
I am new to sitecore developement and have one task to acheive using EXM and WFFM.
I have one newsletter subscription form which contains
Name
Email Address
Option to subscribe for News Letter or Current Vacancies
Captcha
Clicking on Submit, should send Email to the user with link to verify his email address. After clicking on link user will be added in email subscription list to receive newsletter and/or current openings.
I am not sure from where to start to implement this functionality. Any help in this regard is highly appreciated.
Thanks!
Mohit, this sounds like a small standalone project and it's hard to detail every single step in here, but I will at least point you on how to get started.
First of all, let me briefly explain the two Sitecore modules and how you can make them work togheter:
WFFM: Lets you create simple web forms that record and report information provided by visitors to your website
EXM: Lets you create and manage email messages, and manage subscription lists
In order to achive your project, you need to:
Create two subscription lists: Newsletter Subscription List and Current Vacancies Subscription List. Here are some instructions
Create the subscription form, containing the two subscription options. You can follow this detailed article from Sitecore, which explains how to create a form.
Trigger Confirmation email on WFFM submit and subscribe users to your lists: if you follow this article, you will understand how to add the "Subscribe to Recipient List" save action and to trigger a Subscription confirmation email
Configure EXM: Create a new message in EXM, which includes your subscription lists as recipients list
I hope this helps you get started.
Is there a Django app or extension that can be used from the admin panel to select users and send mails to them?
Possibly with a markup editor?
After a quick google search the only app I found that could fit is django-mailer.
Sample Use Cases
a site admin wants to send a one-off announcement to all users on a site
a site admin wants to send a one-off email to a subset of users (e.g. thank you note to users who completed a survey)
a site admin wants to send an email but wants to defer it to a particular date or time (e.g. send out at 9am tomorrow a reminder of the scheduled downtime at 10am)
a site admin wants to send a regular email to a subset of users (e.g. people who haven’t logged in for over a month)
Another way would be to customize yourself the admin. I invite you to read this thread:
Django Admin Customizing
We have setup a webform using webform for marketer module in sitecore.
Using this module, we are creating web forms where users can fill details and submit the form. On submit, we can do actions such as storing in database, send email etc.
Now we were able to creat such form using webform for marketer module in sitecore. Now the problem is when user fill the form and hit submit button, instead of posting this action to the page, request is getting redirected to layout in sitecore. This is a same layout we are using to resolve the page on backend.
I have found solution on this link.
http://sdn.sitecore.net/SDN5/Forum/ShowPost.aspx?postid=37264
For some reason App_Browser folder was missing from site. Once i put that folder in. It started working.
Also, i was reading on sitecore sdn site that, in 6.4.1 version, they are removing need for App_Browser