Hi,

Following on from the V5.x thread http://drupal.org/node/373322 I was wondering if any work has progressed on Views integration for the Watcher module - or if anyone has written a patch for version 6?

Thanks...

CommentFileSizeAuthor
#10 watcherv.tar_.gz1002 bytesscalp

Comments

xqbzzr’s picture

subscribe

NoRandom’s picture

subscribe

It would be great to have interaction with views. You could create a watched view in your profile (or wherever else) and get emails when this view is updated.

Regards.

solipsist’s picture

Macarro: I think Flag is a better module for doing that. With Flags users can flag nodes which can then be shown in a view. With modules like Views, Rules and Flag becoming more and more competent, a lot of what Watcher does can be done using these three. I suggest you should first and foremost look into it that way .

NoRandom’s picture

Thanks, solipsist, I'll take a look at to rules. I've already used flag for other purposes and it works well.

Currently I only have two problems wich are 1) e-mail/private msg to users about updates in the followed nodes 2) I have related nodes through cck and I would like to allow "follow parent node => you automatically follow ther child nodes".

Let's see if I'll be able to get it done.

Babalu’s picture

subscribe

Drupalized’s picture

subscribe

Donaldd’s picture

subscribe

YK85’s picture

Title: Views integration with V6.x » Views Integration 6.x
Version: 6.x-1.3 » 6.x-1.x-dev

+1 subscribing - this is a great module! I was wondering if anyone has had development towards views integration? It would be really helpful.
Thanks so much!

scalp’s picture

I would disagree that flags and rules can do all that watcher can. Unless I'm mistaken, the biggest whole this fills would be the ability to send notifications out when a node is updated. That said, views integration seems like a great addition to this module. Any work being done on this?

scalp’s picture

StatusFileSize
new1002 bytes

I've got this small module that seems to work. Could be a start to getting this included into watcher.

keva’s picture

Thanks scalp! This works great. I also wanted to see anonymous users' email addresses, which wasn't possible with the existing relationship (it took the email address from the user table).

Adding these to line 67 of watcherv.module opens up that possibility:

  // Example user email field, includes anonymous.
   $data['watcher_nodes']['mail'] = array(
     'title' => t('email'),
     'help' => t('User email, including anonymous'),
     'field' => array(
       'handler' => 'views_handler_field',
       'click sortable' => TRUE,
     ),
     'sort' => array(
       'handler' => 'views_handler_sort',
     ),
   ); 

If there's a better way to accomplish this, please advise.

spacereactor’s picture

I create a table style listing and trying to add a column for watcher link in views. Anyone got any idea how?