Closed (fixed)
Project:
Views Saved Searches
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Mar 2009 at 13:57 UTC
Updated:
28 Jan 2010 at 13:50 UTC
I'd like to provide a block of my saved searches. Attached is a basic patch which adds this for a site of mine, but has the distinct problem of hardcoding the view ID and view URL. I'm posting here in the hopes that others can help finalize it so it can be more generalized.
| Comment | File | Size | Author |
|---|---|---|---|
| saved_searches_user.patch | 2.06 KB | greggles |
Comments
Comment #1
wim leersInitial code review:
- Indentation problems in hook_block().
- Doxygen is missing for views_savedsearches_per_user()
- What's this for exactly:
Thanks for getting this started! :)
Comment #2
gregglesSure, this was a hack on my site...I don't know how to do it properly so I can't drive it home.
The hardcoded "adv-flag" is a view on that site. This obviously has to be generalized quite a bit.
Comment #3
pydubreucq commentedHi,
I'm very interesting by this feature...
I would like to know if this feature is planned on the new version of views saved search ?
Thanks by advance ;)
Best Regards,
Pyd
Comment #4
BenK commentedSubscribing...
Comment #5
patchak commented+1 on this feature, maybe I know someone who could help ;)
Patchak
Comment #6
pydubreucq commentedlol
I think to savoir who could help to do that ;)
Comment #7
aron novakHah :)
It's fixed now. Please test it.You need to run update.php before utilizing this feature.
I needed to extend greggles's patch as the display id is needed to determine the path.
Thanks for all of you guys above.
Download the next daily dev or use the CVS to try this feature immediately.