Any plans for porting this to Drupal 6?

Comments

patchak’s picture

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

Let me know please so we can talk...

Patchak

greg.harvey’s picture

+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. =)

somebodysysop’s picture

Alright, alright. Let me look into it. The big challenge here is Views 2. I've got to crack that nut for another module.

patchak’s picture

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

Patchak

somebodysysop’s picture

No, nothing yet. Still trying to get started.

cfmcoder’s picture

subscribing

somebodysysop’s picture

Assigned: Unassigned » 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.

somebodysysop’s picture

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.

greg.harvey’s picture

You rock! =)

somebodysysop’s picture

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.

somebodysysop’s picture

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.


    $view = views_get_current_view();
    $viewname = $view->name;

    $link = views_mail_create_link($viewname);

    drupal_set_message($link);

    
somebodysysop’s picture

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.

patchak’s picture

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

patchak’s picture

*removing duplicate comment*

patchak’s picture

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

somebodysysop’s picture

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.

OliverColeman’s picture

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?

somebodysysop’s picture

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

somebodysysop’s picture

Status: Needs review » Fixed

Created documentation page here: http://drupal.org/node/644970

Status: Fixed » Closed (fixed)

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