Project:Views Mail
Version:5.x-1.1
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi,

Please, I would like to add more fields of information as giving users permission to use the views mail, specifically in my directory as a 'quote request' from the list.

Is it perhaps possible to attach a content type to the form, or just manually add more fields?

Would most appreciate if you point me in the right direction. Would like a large box for the description of the quote request ...

Look forward to hearing from you.
Lilian

Comments

#1

Hi SomebodySysop,

Fabulous! I there is a textarea box and that's perfect. I've done a test, but it does not include the textbox info in the sent email.

1. As it is so close, please how do I include the textbox information in the email?

$form['group']['message'] = array(
'#type' => 'textarea',
'#title' => t('Quote Descripton'),
'#default_value' => views_mail_get_node_field($form_values['newsletter'], 'body'),
'#rows' => '7',
'#required' => FALSE,
'#description' => t('Add the full description of your quote request. Remember to include your contact details.'),
);
  }

or 2.

Update: I find another option to make this work and it will work with Pay per Node (which is great!). And just maybe with extra fields in the newsletter ..

Have the user create a newsletter and then redirect them to the views mail list. The only thing is how do I show only the newsletter they have created and not by everyone else as well?

Look so forward to hear from you and thank you.
Lilian

#2

Sorry for the tardy reply. I've been on other projects. Now, I've finally got time to start looking at this.

Have the user create a newsletter and then redirect them to the views mail list.

This is a good idea. I'll look into it.

The only thing is how do I show only the newsletter they have created and not by everyone else as well?

I'll look at perhaps another permission to list just the newsletter(s) that the user is the author of.

#3

Status:active» needs review

OK, I've evaluated and responded to your request. I've created two more permissions:

administer views mail
send own views mail

So, if you give a role the "send own views mail" permission, he will only be able to see and send the newsletters he creates.

Also modfied settings so that if you define a view to use with Views Mail, you can place a link to that view at the bottom of each Views Mail newsletter you create. So, when you create a Views Mail newsletter, there will be a link at the bottom of it to go to the view where you will be able to send it.

With respect to your request for an additional field, I don't believe one is necessary. Anything that needs to go into the email should be put into the views mail newsletter created to send to the user(s).

Attached is patch and updated README file.

AttachmentSize
views_mail.module.5.x-2.0.patch 20.19 KB
README.txt 7.45 KB

#4

You are a super-star! thank you so much! Will do a test today ..

Wishing you a great day.
Lilian

#5

Status:needs review» fixed

#6

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here