Custom PHP code within a View

Events happening in the community are now at Drupal community events on www.drupal.org.
yngens's picture

I need to run custom PHP code within a view of node type. It is currently posible to only include Global:Custom text field, but it allows including only HTML. It is also possible to run PHP in header or footer sections, but I badly need to run PHP-code in the body of the view in between fields. Is this possible at all?

Comments

Hi have a look at

Theme

jason.fisher's picture

Click the theme tab on your view and make a custom template with as much PHP as you like..

I do extensively use both the

josepvalls's picture

I do extensively use both the custom php field and theming individual fields. I also suggested it as a feature of views but merlinofchaos has his arguments against PHP code in views.

Views Developers

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: