I'm getting an issue similar to the one here http://drupal.org/node/76613 whereby I can't seem to output html links with computed fields. I tried doing the php snippet here http://drupal.org/node/149232 but it still doesn't work. Generally my output problem seems to be that:
< is replaced with &lt and " is replaced with &lquote

Am I doing something wrong? I'm using the "l( )" function to build the links at the moment.

Comments

moneyescapade’s picture

Solved. Found out the problem was just me not checking my field display settings and it was set to "plain text".

phelixochieng’s picture

Issue summary: View changes

Facing the same problem here, I would like to output a computed field as a link in views. How do I do this? Thanks in advance

DrupalViator’s picture

Use the l() function to generate html code for a link. Use $attributes = array('html' => TRUE) to allow html within the link text.