Views SavedSearches + Notifications = Swiss Army Knife
I've worked a few times with Views Savedsearches in the past, this is a tiny
module that offers to save all the user-configured values of the views
exposed filters and later the user can choose from the saved set of exposed
filters.
The field of use-cases are really huge, imagine a webshop and the
users can save a 'saved search' what filters mobile phones with touchscreen
and between $100 and 200$. After the user visits the search form, just click
on the saved search link and the actual items are visible what meets with the
criterias.
When I heard that this tiny, handy module needs new maintainer, I stepped up
and applied for maintainership. And the news is that this module already has
a new release! (http://drupal.org/node/663242)
Notification integration is especially useful if you imagine the previous
use-case again. Why should i visit the webshop again and again? Now, with
this integration, the user can simply subscribe to the 'saved search' and
when a touchscreen mobile becomes so cheap to sink in the price range, the
user is notified via email or via SMS or twitter or whatever else channel
Notification supports! It's nice enough, isn't it? :)
This is the user-side, non-technical viewpoint of the story. To achieve what's
described above, just use Views Savedsearches
(http://drupal.org/project/views_savedsearches) and Notifications
(http://drupal.org/project/notifications) modules together.
From the developers' and site builders viewpoint, it's quite exciting that
with this way, you can subscribe to any kind of object in Drupal as long as
it has Views integration. What's the trick? The change detection happens in
cron time, cause it's impossible to act on events on any kind of object in a
general case. So this works really well if the cron is configured to run
frequently enough. The main concept here was to loop through all the saved
searches, execute the view with the given filters and compare the object ids
with the stored object ids from the database.
For big sites, the garbage collection can be important from item id storage
table to avoid too much wasted space, this is definitely something i'd like
to implement in the future.
Any user or coder feedback are really welcomed!
http://drupal.org/project/issues/views_savedsearches

Great article, i really
Great article, i really enjoyed reading your post. Thank you for your time.
Regards.
radyo dinle
Max Burn, Hydroxatone & Douglasville bankruptcy lawyers
Well I must admit that you have maintained the entire concept very precisely. Keep it up.
Douglasville bankruptcy lawyers
Hydroxatone
Max Burn
It's very important to setup
It's very important to setup proper system. This is big part of success as you don't need to wast your time on repeating the same operations over and over again.
Mike,
cs 1.6
Great article
I think you have researched a lot to give me such kind of writing. I would like to see latest update about this issue. I always skip comments of a blog but cannot resist myself to give you special thanks.
Tiny details
All these tinny details are made with lot of background knowledge. I like it a lot. This was a useful post and I think it is rather easy to see from the other comments as well that this post is well written and useful. Thank you very much. belt buckles
great work
interesting and impressive tool with great features, thanks
The post has been excellent
The post has been excellent and I have referred it to many of my friends. I honor for the work that you have done. Thank you once again.
Thank you for another
Thank you for another informative blog. Where else could I get that kind of info written in such a perfect way? I have a project that I am just now working on, and I have been on the look out for such information.
Very good I would recommend
Very good I would recommend to anyone sharing Thanks for sharing.
By Web Tasarım
I really liked the job
I really liked the job regarding removing errors that you have done.
Plumber milton keynes
Thank you for the work you
Thank you for the work you have put into this post, it helps clear up some questions I had.I will bookmark your blog because your posts are very informative.We appreciate your posts and look forward to coming back...
Great Idea / Subscribing Without Exposed Filters?
Hey Aron,
Thanks for writing up this post and sharing how you integrated Views Saved Searches and Notifications. It's a really cool idea.
Any thoughts on how to let users subscribe to a view without exposing filters? (I'm assuming from your description that filters need to be exposed for saved searches to function properly.)
In my use case, I have some default views on the site that I'd like users to be able to subscribe to. Views makes it easy to create an RSS feed, but I need for them to be able to subscribe via notifications as well.
Cheers,
Ben
Hi Ben! It's an exciting
Hi Ben!
It's an exciting question! The code inside views_savedsearches_notification module is able to do that, but at the moment the module is completely dependent of views_savedsearches. So later i'd say it's possible to create a views_notification module only for views. without any filters.
Aron
Hi Ben!
Excellent resource of quality information, thanks a lot.sanovnik
re:
Trying to loop through all the saved searches, execute the view with the given filters and compare the object ids with the stored object ids from the database. worked for our - maine it services.