Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi there,
I just copy&pasted a little PHP script from a current D7 project/view into an older D6 project/view. I use a custom php field inside the view to calculate some stuff depending on the number of results and the current position. The script works fine in D7 but not in D6 and I found out that total_rows and row_index are NOT set (like they are in D7). Any reasons/ fix for that?
Thanks Tom
Comments
Comment #1
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedThe Drupal 6 branch is no longer supported, please check with the D6LTS project if you need further support. For more information as to why this issue was closed, please see issue #3030347: Plan to clean process issue queue