Closed (works as designed)
Project:
Views Custom Field
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2010 at 00:01 UTC
Updated:
21 Jan 2010 at 03:53 UTC
Hello,
I added the following code and I'm getting a duplicated result already in the Live preview
echo "test";
PHP code: test
PHP code: test
PHP code: test
PHP code: test
PHP code: test
PHP code: test
...
and so on....
What can I do?
Comments
Comment #1
infojunkieThe code in the the custom field is evaluated once for each row in the view result. There must have been 47 rows in your view. If you want something that is evaluated once per view, try the view header or footer.