Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
OK, that worked for the first page only, when I jump to any other page it counts from the beginning again, or in other words in each page I get 1,2,3,4,5,etc not the continuation of the page before.
Comments
Comment #1
joshg commentedAdd field--custom field
Put the code in the box or you can put the code in the header or footer box within the view setup.
see http://drupal.org/node/131031 for more Details on this topic.
Comment #2
jfha73 commentedI tried but all I could see was the total row number for the view, but what I need is to show something like this:
Row Number|Description
1. |Record 1
2. |Record 2
etc.
I also checked the link you sent me, but I did not see anything that tells me how to do it.
Comment #3
casey commentedOr if you use $static in other custom fields
Comment #4
jfha73 commentedOK, that worked for the first page only, when I jump to any other page it counts from the beginning again, or in other words in each page I get 1,2,3,4,5,etc not the continuation of the page before.
Comment #5
casey commentedTry this:
Comment #6
jfha73 commentedPerfect, that worked.