Will there be a D7 branch for this module and if so when can we expect that? I would really love to have this for views, as I'm sure many people using D7 would.
| Comment | File | Size | Author |
|---|---|---|---|
| #54 | views_autorefresh.patch | 4.74 KB | oliver huynh |
| #29 | view_test_views_filters_selective.txt | 16.01 KB | Jerome F |
| #29 | taxonomies.zip | 879 bytes | Jerome F |
| #26 | views_filters_selective.zip | 7.97 KB | Jerome F |
| #21 | autosubmit.PNG | 27.71 KB | neoglez |
Comments
Comment #1
BenK commentedSubscribing... would love to see it for D7 too!
Comment #2
kansaj commentedreally needed ..
Comment #3
infojunkieAnyone interested in helping out with coding to port to D7?
Comment #4
neoglez commentedI would like to help out. I already started on my own (local). Waiting for further instructions from mantainer.
A couple of things i would like to note:
The reset button (module views_filter_reset) was already incorporated in Views 3.
I don't understand how the class views_filters_selective_exposed_form_plugin can extend the class views_plugin_exposed_form_basic if the later does NOT exist in the Drupal 6 - Views 2 installation and (what is really funny) php doesn't issue an error. According to php.net
Comment #5
alexbern commentedI would like to help out as well. Starting with D7 port of autosubmit module. Further information is welcome.
cheers Alex
Comment #6
Rob_Feature commentedUm. Yeah. Me too. (ie. subscribe)
Comment #7
infojunkieThanks everyone. Some comments:
* Since the Reset functionality is in Views 3, no need to port it.
* The class
views_filters_selective_exposed_form_pluginis only activated in Views 6.x-3.x - check the functionviews_filters_selective_views_apito be convinced.Re #5: What information to you need?
Comment #8
alexbern commented#7 Nothing special yet. Just thought you can provide some additional info especially about autosubmit..
Comment #9
alexbern commentedhey, I'm finishing autosubmit. just a little question to hide the apply button: when i enable a views reset button, it automatically hides together with apply. it's because of their ident type name: submit.
So I managed it by hiding the apply's class ".views-submit-button". I'm not sure if this is a good way since classnames are likley to change..
please find the D7 autosubmit in the attachment. Comments are welcome.
Alex
Comment #10
yugongtian commented+1
Comment #11
peter törnstrand commentedHere is a port if Views Block .. I think the only thing missing is a new default view.
Comment #12
sheba commented+1
Comment #13
infojunkieThanks everyone! I will start a D7 branch where I place those patches. I won't be able to maintain them actively for the time being, so if anyone is interested in co-maintaining he D7 branch please contact me privately.
Comment #14
mandreato commentedSubscribing
Comment #15
Wallace123455 commentedI am new to Drupal and am using Views3. I am trying to figure out how the "reset button" has been incorporated. I currently am exposing a few filters for my viewers and it would be great if there was a button right next to the apply.
I appreciate if anyone can explain how I can see and implement this new feature in Views3
Thanks
Comment #16
alexbern commented@#15
no need to implement. it a feature already.
see what #7 wrote:
* Since the Reset functionality is in Views 3, no need to port it.
goto: views->edit->exposed form settings->Include reset button
cheers
Comment #17
neoglez commented@ Wallace123455
Please use the forum (& others)for this kind of questions.
In views 3 you don't need to "implement" this funtionality, the reset button in the Exposed Form section (Exposed form style settings) of the Views admin interface.
Wellcome to Drupal!
Comment #18
Wallace123455 commentedThanks for everyones responses. With your help, I figured out how to enable the reset button.
Thanks again.
Comment #19
neoglez commentedPosting a dev version of views_filters_selective compatible with D7-Views 3.
Some changes are:
Pure Plugin approach instead of hook form_form_FORM_ID_alter.
views_filters_selective_views_plugins()
views_filters_selective_exposed_form_plugin class.
Upgrade following api-upgrading.html
Use D7 Database Abstraction Layer.
Like any other dev it's use is not recomended in prod. enviroments. Just a starting point to move foward.
Some tests on views 3 dev (not the beta)
Comment #20
bmx269 commentedI would relly like to see the ajax auto refresh functionality ported to D7. Thank you guys for all your hard work. I would like to help, but I am more of a themer.
Comment #21
neoglez commentedIt also has been incorporated in VIEWS 3 (see the latest dev release & attached picture)!! ;-)
Comment #22
aristeides commentedsubscribing
Comment #23
aristeides commented@neoglez no UI for views_filters_selective yet I suppose, right?
Changing the title of the issue for dashboard clarity.... sanity reasons.
Comment #24
Jerome F commentedsubscribing
I come from http://drupal.org/node/463678 and I'm looking for a way to make a views exposed filter with a select list displaying only relevant, available terms.
Comment #25
Jerome F commentedusing #19 returns the following errors :
Comment #26
Jerome F commentedjust a basic Code review with coder module some tabs removed,
views_filters_selective_exposed_form_plugin.inc needs a @file block description
Comment #27
infojunkieThanks all for your efforts. Just to set expectations realistically, I'm currently not working on D7 for any of my projects, so I'm not ready to open a D7 branch for Views Hacks. If anyone here wants to test the ports here and maintain the D7 branch, please contact me privately and we can discuss it.
Comment #28
neoglez commented@Jerome F Thanks for the formating.
The major problem here is the approach to execute a clone view for every single filter and the way the results are scanned to reduce the filter(s) options.
At the moment i'm trying to change that into:
There are other collateral things to take care of.
@infojunkie A 7 branch would really help to work collaborative!
Comment #29
Jerome F commented@neoglez I tried to use this with the attached view if that's of any help. the taxonomy_csv module let you import the attached taxonomies if needed.
I use an article with term reference fields and a location field with at least cities and countries.
With this I think you can reproduce #25 if these errors are not visible on your side yet.
Comment #30
infojunkieOK, 7.x-1.x branch created.
Comment #31
neoglez commentedWao! That was fast! Thanks all, specially infojunkie for attending my request.
...tanking care of _filter_selective to attempt to publish (at least) a working version.
I really think the plugin approach (to reduce filter's options, not to integrate into views) should take ctools advantages (views is already dependant of it and vfs from views, so...), in this matter we have to keep in mind that there could be diferent kind of filters (also user-defined) and vfs should be able to get info(instructions) from those on how to filter their own options.
Comment #32
JohnnyX commentedSubscribe...
Comment #33
aristeides commentedI'm about to start a project for a client and will DEFINITELY need the selective filters module...
it was one of my favourites in D6 and it's permanently in my "pocketknife" modules list! :)
@neoglez @Jerome F Please let me know if there's something we can do to speed things up...
Comment #34
neoglez commentedCheck out tomorow ;-)
Comment #35
Jerome F commentedcurious to see what's going on :-)
Comment #36
sachbearbeiter commented+1
Comment #37
Jerome F commented@neoglez: I've planned to have a look at the code with a developper tomorrow morning, could you update the git version to your last version in order not to duplicate efforts, if you please?
Comment #38
neoglez commentedI can't, have no commit access ;-(
Comment #39
neoglez commentedI'm testing following the approach described in 28.
I'm leaving this issue and opening a newone only for vfs (Views Hacks Views Filter Selective Drupal 7 branch) to be able to work in a more modular way.
Comment #40
d0t15t commented+1 :-)
Comment #41
infojunkie@neoglez is now the maintainer of D7 branch :-)
Comment #42
andypostsubscribe
Comment #43
joachim commentedWould an extra pair of hands be useful for work on the D7 branch?
I'm going to to be using Views Selective Exposed Filters and Views Composite Exposed Form Plugin for a project so I'd be happy to take on co-maintainership and work on those.
Also, it would be really great if someone could make a D7 dev release: #1358028: Please make D7 releases.
Comment #44
infojunkieJoachim, thanks for offering your help. I'll gladly take it, because I think the current state of Views Hacks on D7 is less than ideal. Since I don't have time to work on it, I'll let you lead the initiative. I'd appreciate that you consult with me on significant architectural changes if any are needed.
Comment #45
joachim commentedThanks! I'll do what I can.
I'll file issues for any changes (apart from anything that's just comments or code style). Doubt I'll make any big changes but I'll wait for your input.
Comment #46
joachim commentedI've made the 7.x-1.x-dev release visible so we can perhaps get more eyeballs on the D7 work done so far.
What's blocking an alpha release? I can see these issues open:
- #1022974: Drupal 7 port of views_filters_autosubmit
- #1183628: Views Block Drupal 7 branch
- Views Filters Reset is now in Views core.
Given that technically an alpha release doesn't have to be feature-complete, we could make one now anyway. What are people's opinions on this? How functional are the various modules?
Comment #47
emicoma commentedOpinion on views_filters_selective + better exposed filters :
1 - works for me after slight modification :
On views_filters_selective_exposed_form_plugin.inc, deleted those lines (around lines 127-135) :
2- Still have an error with views with empty results :
Warning: preg_split() expects parameter 2 to be string, array given in _filter_url() (line 1432 of ..\modules\filter\filter.module).
and cannot have working "empty result behavior" in views, i had to write it in the template.
Comment #48
joachim commentedDo please file new bug reports for any specific problems :)
Comment #49
joachim commentedJust a note to say I've committed an update to Views Flipped Table to make it work on D7.
Any thoughts on whether it's time to make an alpha release?
Comment #50
infojunkieThanks @joachim! We can make an alpha release when all sub-modules are functional.
Comment #51
joachim commentedI was thinking we could make an alpha release fairly soon, so we get more eyeballs on the sub-modules that are ready now. 'alpha' means 'not feature-complete', so it's ok if some sub-modules are not functional at all yet -- as long as we clearly say which ones.
Comment #52
infojunkieSure, works for me. I'm currently working on a better version of views_filters_selective, will notify you when it's ready.
Comment #53
infojunkieThe new views_filters_selective module is now ready, feel free to make an alpha when you want.
Comment #54
oliver huynh commentedView auto refresh patch for 7.x-1.0-alpha1
Comment #55
jonhattanI've filled an issue with a patch fixing several issues with the argument handler in views auto-refresh. See #1837410: Minor fixes to Views Auto-Refresh to make it actually work
@Oliver, views auto-refresh is working well for me (version 7.x-1.x-dev). I don't understand the motivation for the changes in your patch. Also the patch is not well formed and don't apply.
btw I think this issue can be closed. Better to post new issues for specific problems.
Comment #56
joachim commented> btw I think this issue can be closed. Better to post new issues for specific problems.
Good idea.
Comment #57
oliver huynh commented@Jonhattan,
Ok, I didn't check 7.x-1.x-dev. Please ignore my patch :)