Whilst small files can be uploaded to forum posts, if you have a custom theme or module to contribute please add it on the "Add-ons" page.

TOPIC: Important announcement for webtrees customisations

Important announcement for webtrees customisations 6 years 4 months ago #1

  • kiwi
  • kiwi's Avatar
  • Offline
  • Platinum
  • Posts: 4921
If you have customised your webtrees files, or are managing any custom add-ons for webtrees, you need to be aware that changes have been made in latest svn that will need to be reflected in most add-on modules and themes. The changes are effective at svn 14305, although there may still be further adjustments required.

Greg has described the changes in other posts:
There were two reasons for the changes.
  1. To allow all trees to be private. This has been a frequent request. Now, when all trees are private, there are no tree names/titles or anything else visible.
  2. Performance. I have changed the way we load all the tree preferences. We now load them in one big SQL query, instead of many separate queries.

For custom themes the change is small, but important. Where you might previously have displayed the Family tree title using "htmlspecialchars($GEDCOM_TITLE)" or similar, you should now use "WT_TREE_TITLE". Nothing more complicated than that, but the change must be made.

Custom modules may require more complex changes, so you will need to study other modules and to see what changes you need to make in your own code.

These changes also mean you can no longer tell users that your custom theme will work for both 1.3.1 and 1.3.2, unless you don't display the Family tree title in your theme at all.
Nigel

www.our-families.info

Hosted at:
Follow me at:
Last Edit: 6 years 4 months ago by kiwi.
The administrator has disabled public write access.

Important announcement for webtrees customisations 6 years 4 months ago #2

  • KosherJava
  • KosherJava's Avatar
  • Offline
  • Frequent
  • Posts: 512
The Custom JavaScript module is the only non-standard one I use and it seems fine with the latest.
hershfeld.com/family/ (webtrees git dev)
PHP: 5.6.15, MySQL: 5.5.42
The administrator has disabled public write access.

Important announcement for webtrees customisations 6 years 4 months ago #3

  • ToyGuy
  • ToyGuy's Avatar
  • Offline
  • Moderator
  • Live like it's Christmas every day - Santa Stephen
  • Posts: 4925
Yes, as Nigel pointed out, there should only be problems with any module that called Tree names. The custom javascript module did not involve those elements.
Santa Stephen the Fabled Santa
Latest webtrees at MyArnolds.com
Hosted by webtreesonline.com, a division of GeneHosts LLC
MacOS 10.6.8, Apache 2.2+, PHP 5.4.16, MySQL 5.5.28
The administrator has disabled public write access.
Moderators: makitso
Powered by Kunena Forum