Drupal 6?
lonehorseend - September 1, 2008 - 16:50
| Project: | Views Mail |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | SomebodySysop |
| Status: | fixed |
Jump to:
Description
Any plans for porting this to Drupal 6?

#1
I would be ready to sponsor moving this module to drupal 6, anyone interested??
Let me know please so we can talk...
Patchak
#2
+1 ... a client of mine uses this. We intend to upgrade for Drupal 6 in the next quarter (funding permitting) so can pledge some development resources to porting this to D6/Views 2 if our project goes ahead. =)
#3
Alright, alright. Let me look into it. The big challenge here is Views 2. I've got to crack that nut for another module.
#4
Hey there!! Do you have any good news or something we could test! Can't wait to see this one for D6!!
Patchak
#5
No, nothing yet. Still trying to get started.
#6
subscribing
#7
Seriously looking at it. Could use some contributions. May need to hire some help myself. Want to try and make sure the new version builds on top of the old, without repeating the same mistakes.
#8
Working on a 6.x version. Created 6.x branch. Available as .dev release.
Adding debug mode today because it's sure to have some problems.
#9
You rock! =)
#10
Discovered because we are using a hook_mail which is similar to that used by simplenews_mail (in order to handle translations better), the application was not sending out custom messages. Corrected. Code should be available for download in about 12 hours.
#11
The following code snippet can be placed in your View footer ("php" input type) in order to create a link that will take you to the views_mail configuration screen with the current view and selected filters. Do NOT use Ajax.
<?php
$view = views_get_current_view();
$viewname = $view->name;
$link = views_mail_create_link($viewname);
drupal_set_message($link);
?>
#12
With respect to #11, got a better plan. Used hook_views_pre_render() to place the link programmatically. Added setting so that you can configure Views Mail to automatically create a link to the "Configure Views Mail mailing" directly from the View screen (so long as the View is tagged "views_mail"). Sweet.
Committed to DEV release today.
#13
Hey there, when I tag a view "views_mail" and do not add the php code to the footer, I get this :
name; $link = views_mail_create_link($viewname); drupal_set_message($link); ?>on the bottom of my view, but no link to actually get to views mail.
Using the custom php code in the view does work tho..
Patchak
#14
*removing duplicate comment*
#15
Just to add some more info, it seems that using this code I cannot have more than one view using it at a time. Is this possible? I have at the moment two views that have this code, and it works for one, and for the other I get that string like if the php code was wrong but it's still the exact copy of the code used in the view that works.
Also, on my site, tagging a view with views_mail DOES NOT create that link automatically....weird..except for one view, it seems cannot be used for multiple views??
Patchak
#16
Go to: Administer » Site configuration » Views Mail configuration and check the box next to "Create Views Mail View link?" and save changes.
This will place link under view without having to manually add code.
#17
After a bit of poking around in the issue queues it sounds like the 6.x-dev version is pretty usable, is this the case?
I need this for a production site so would like to know if there's a roadmap and/or list of things that need doing before this is released as stable. I'd be willing to help out if so!
Are there likely to be any major changes in the way this module works, and/or are there any known major issues with the dev release which would make it unusable on a production site?
#18
At this point, just need to find the time to document it's use.
#19
Created documentation page here: http://drupal.org/node/644970