Petrus Posted December 3, 2010 Share Posted December 3, 2010 Hello, I have this code which comes is off the body template off a content type by content template. <div class="field-item"><?php print $node->field_naam[0]['view'] ?></div> I want to edit it and make it a link like: <div class="field-item"><a href=\"http://example.com/<?php print $node->field_naam[0]['view'] ?>"</a><?php print $node->field_naam[0]['view'] ?></a></div> This gives a parse error since I am learning. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.