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:needs review
Description

Any plans for porting this to Drupal 6?

#1

patchak - December 8, 2008 - 15:45

I would be ready to sponsor moving this module to drupal 6, anyone interested??

Let me know please so we can talk...

Patchak

#2

greg.harvey - January 21, 2009 - 13:44

+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

SomebodySysop - January 22, 2009 - 19:41

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

patchak - February 18, 2009 - 18:02

Hey there!! Do you have any good news or something we could test! Can't wait to see this one for D6!!

Patchak

#5

SomebodySysop - February 19, 2009 - 17:35

No, nothing yet. Still trying to get started.

#6

cfmcoder - March 7, 2009 - 11:28

subscribing

#7

SomebodySysop - March 8, 2009 - 22:38
Assigned to:Anonymous» SomebodySysop

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

SomebodySysop - March 27, 2009 - 20:00
Version:5.x-1.2» 6.x-1.x-dev
Status:active» needs review

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

greg.harvey - March 29, 2009 - 08:23

You rock! =)

#10

SomebodySysop - March 29, 2009 - 20:50

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

SomebodySysop - April 1, 2009 - 10:04

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

SomebodySysop - April 12, 2009 - 13:03

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

patchak - April 23, 2009 - 13:48

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

patchak - April 23, 2009 - 13:49

*removing duplicate comment*

#15

patchak - April 23, 2009 - 14:43

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

SomebodySysop - April 23, 2009 - 18:11

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

Oliver Coleman - August 20, 2009 - 23: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

SomebodySysop - September 1, 2009 - 18:14

At this point, just need to find the time to document it's use.

 
 

Drupal is a registered trademark of Dries Buytaert.