Problem/Motivation
I try to export a lot of rows with a view. The view looks correct on screen, and the row-counter gives nicelly first row 1, second row 2, third row 3...etc
But when I try to export the csv through VBO-export, the rowcounter stays for every row on 1
On drupal 8 there is same sort of problem, see issue: https://www.drupal.org/project/vbo_export/issues/3184888
I try to export the view through csv for migrating the content (1000+ weblinks) to Drupal 10. Please help!
Steps to reproduce
Build a view with field: Global: View result counter (Counter) or Global: PHP field with output code:
<?php $rownumber = $view->row_index + 1; ?>
<?php print 'nr: "' . $rownumber. '"' ; ?>
Proposed resolution
Two solutions: or change vbo_export with a patch which contains correct numbering, or build a new field handler (bettercounter), which counts the rows correct. In this issue there is a Drupal 8 solution: https://www.drupal.org/project/vbo_export/issues/3184888 and here I am trying (I am not a programmer:( a Drupal 7 solution: https://stackoverflow.com/questions/76211445/try-better-counter-for-view...
Remaining tasks
Building a correct solution
Thanks a lot in advance for your reply,
Comments
Comment #2
astonvictor commentedD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.