In a view that uses several views php fileds, theming becmes very difficult to understand and maintain because the view php fields are all named "PHP_1", "PHP_2", "PHP_3" etc.
Themeing and maintainability would be enhanced greatly if a custom machine name could be assigned for each of the views php fields.
This feature would involve a change to the field addition form to have a form element that allows a custom machine name.
It would make theming much easier.
My particular use case was a table where I required a multi-row header. In order to do this, I needed a template where the views $header array was parsed based on the field names to put the table headers in the correct place. For the php fields I have "PHP_1" etc - which is not meaningful and difficult to maintain compared to if I could assign a name like "Item Status" to the column.
I'm not familliar enough with the views api to offer up a patch which is why this is coming as a feature request.
Comments
Comment #1
letapjar CreditAttribution: letapjar commentedComment #2
letapjar CreditAttribution: letapjar commentedComment #3
Liam Morland