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,
When I add the php code examples from the readme to a views template file, they don't work.
I get an error : Notice: Undefined index: render element in theme() (line 824 of C:\xampp\shop\includes\theme.inc).
Where the count should display, it comes up with "Widget Array not found" .
Any ideas what's up with that?
Comments
Comment #1
jvandervort CreditAttribution: jvandervort commentedLooks like the documentation is out of date.
Try using something like this:
Comment #2
jvandervort CreditAttribution: jvandervort commentedUpdated docs in dev.
Comment #3
tripper54 CreditAttribution: tripper54 commentednice one, thanks.