Comments

girishmuraly’s picture

Assigned: Unassigned » girishmuraly

Indeed, but we are waiting on the Views port of D7 to be stable and for 1.4 to come out of beta currently for this module. Infact, thanks for opening this issue to track the progress.

klonos’s picture

subscribing...

TimelessDomain’s picture

Views 7.x-3.0-rc1 is getting close to stable

klonos’s picture

Title: Drupal 7 port » Port Views dynamic fields module to drupal 7
Issue tags: +D7 porting, +port to d7, +d7 ports

...less vague title + proper tags.

modstore’s picture

This will be very helpful for my current project, any progress on this?

girishmuraly’s picture

Due to my prior commitments, I wasn't able to get to this sooner. Will be starting porting this weekend..

klonos’s picture

This is great news Girish! ;)

...let us know when there's something available for testing.

girishmuraly’s picture

I've begun porting and posted an initial version here - http://drupal.org/node/1242744.

Some issues still exist. Will keep this ticket open till I can get to them in few more days..

girishmuraly’s picture

I've begun porting and posted an initial version here - http://drupal.org/node/1242744.

Some issues still exist. Will keep this ticket open till I can get to them in few more days..

klonos’s picture

Thanx Girish, but besides you double-posting (ha-ha), you must have also forgotten to make the sandbox public - all I get is access denied to that link ;)

girishmuraly’s picture

@klonos, yep I double posted :)

Drupal.org publishes the development snapshot node within 12 hours and attaches automatically-generated .tar.gz and .zip files of the project code.

I only just posted under an hour ago, so I'd suggest you to wait. Or you could also git clone it otherwise.

klonos’s picture

Version: 6.x-1.4-beta1 » 7.x-1.x-dev
Status: Active » Fixed

Just downloaded my copy so I can start "playing" with it! Thanx ;)

...so, I think we can close this one now and report any bugs in separate issues.

Status: Fixed » Closed (fixed)

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

hypertext200’s picture

Status: Closed (fixed) » Needs review
StatusFileSize
new2.92 KB

Views3 support.

yousername’s picture

Thank you, heshan.lk
Diff from #14 fixes some messages popping up in D7, but module still doesn't work properly.
I'm loading 8 fields, but displaying only one.
Initial default display works fine, showing only field 1. But when I choose any other field from the filter, all the hidden fields get displayed and stay displayed no matter which option I choose, including 'any' or 'field 1'.
Additionally, the following error messages pop up when clearing filters:

Warning: array_diff() [function.array-diff]: Argument #2 is not an array in function views_handler_filter_dynamic_fields->pre_query_no_sort() (line 364 in file /sites/all/modules/views_dynamic_fields/handlers/views_handler_filter_dynamic_fields.inc).
Warning: Invalid argument supplied for foreach() in function views_handler_filter_dynamic_fields->pre_query_no_sort() (line 368 in file /public_html/sites/all/modules/views_dynamic_fields/handlers/views_handler_filter_dynamic_fields.inc).
Warning: Invalid argument supplied for foreach() in function views_handler_filter_dynamic_fields->pre_query_no_sort() (line 379 in file /public_html/sites/all/modules/views_dynamic_fields/handlers/views_handler_filter_dynamic_fields.inc).
mpv’s picture

This patch fixes the error from #15 and another error with already excluded fields. With this two fixes I am able to use this module in drupal 7 without problems (although I still have to do some more testing).

klonos’s picture

This issue here was about an initial port to D7 which was done. You need to either unassign this issue from girishmuraly or (preferably) revert its status to "closed (fixed)" and file separate issues and patches against the 7.x branch.

That being said, if you could provide steps to reproduce this, I can verify whether the patch fixes the issue or not.

mpv’s picture

Status: Needs review » Closed (fixed)

You are right, my bad. I've filed three separate issues, each with its own patch to simplify testing. All three issues are very simple, but if you need any more info or help let me know. Thank you for taking a look into this.

The issues:

#2078657: List filters in checkboxes not working
#2078665: Warning: array_diff() [function.array-diff]: Argument #2 is not an array
#2078673: Undefined index error for fields excluded from the view