Custom PHP code within a View

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by yngens on July 21, 2010 at 11:58pm

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

Posted by larowlan on July 22, 2010 at 12:22am

Theme

Posted by jason.fisher on July 22, 2010 at 2:32am

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

Posted by josepvalls on July 22, 2010 at 11:31pm

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:

AltStyle によって変換されたページ (->オリジナル) /