Could anyone please help with the right php snippet to paste into node-content_type.tpl.php file OR into contemplate in order to:

1. output invisimail encripted mailto:link
2. output contact form link

Looking in the code i came up with <? print $item['email'] ?> , but this snippet prints just the plain text non-encrypted email address..sorry, no coder here, thank you very much in advance for any hint you might give!

PS: it would be nice also to expose email_field_module variables to the Contemplate.module, but this would make another feature..

Comments

marcoBauli’s picture

ohh.. issue n.1 above is solved using the classic CCK autogenerated code to output a field in the phptemplate file :P

    <?php foreach ((array)$field_email as $item) { ?>
      <div class="field-item"><?php print $item['view'] ?></div>
    <?php } ?>

issue 2 still unresolved though