Last updated March 17, 2011. Created by Amir Simantov on November 3, 2009.
Edited by Pomliane, VM. Log in to edit this page.
Following instructions are the product of a forum discussion taken in Drupal Israel site: http://www.drupal.org.il/node/3749 and are based on Mooffie's code with help from Yuval Hagger.
1. In Computed code paste the code that you find here:
http://drupa.co.il/_files/forexternsites/drupal.org-node-622098.txt
2. In Display format paste this:
<?php
$display = $node_field_item['value'];
?>3. If you choose to store it in the database, varchar with 25 characters will be fine.
Note: For English names and calculation of the Jewish data look inside the code for "ELUL".
Comments
the file you link is not
the file you link is not UTF-8 encoded.
Also, this form of code posting is not very usable. if you can make a module out of it you'll get usage stats, bug reports and version control.
--yuval