i am looking for a software to show genealogical data on my website and found webtrees. because i have not found information on formatting date-fields, i hope to get information here.
unregistered users should not see the full date of person events, so i want to show them only the year. is it possible to customize the format of date-fields depending on user-groups? is that a general setting or is it possible to customize the format for each tree separate?
You can change the format of the date to DD-MMM-YY or some other, but the individuals are either hidden (normally if living) or visible. You can show the names only of living persons or hide them completely, but that is about the only other option available.
"Failure is an amazing teacher." (L'échec est un professeur extraordinaire.)
Since I would also like to offer some genealogical information on my website, but on the other hand with certain restrictions, I copied the code Greg mentioned to the file Date.php. However, the result was not as expected. Now, on the personal page it shows a capital Y instead of the year, while in the right column the years are still visible (which is ok). Where is my mistake?