By dmstru on
I have the calculated fields which stored data about file link, computed code is:
$count = count($node->field_gamefile);
$i=0;
$node_field[0]['value'] = "";
do
{
$node_field[$i]['value'] .= check_plain($node->field_gamefile[$i]['filepath'])."*".check_plain($node->field_gamefile[$i]['data']['description']);
$i++;
} while ($i<$count);
Display Format:
$display = $node_field_item['value'];
$temp = explode ("*", $node_field_item['value']);
$display = l($temp[1], $temp[0]);
Display print multiline links.
I need on features in output.
I need to display:
[hidedata]link1
link2
link3 [/hidedata]
When I put $display = "[hidedata]".l($temp[1], $temp[0])."[/hidedata]" I see next views
[hidedata]link1[/hidedata]
[hidedata]link2[/hidedata]
[hidedata]link3[/hidedata]
How i can make display with my format?