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: Version.txt

Version.txt 4 weeks 2 days ago #1

  • vytux
  • vytux's Avatar
  • Offline
  • Senior
  • Posts: 456
What is the expected use or contents of version.txt in github.com/fisharebest/webtrees/blob/mas...sable/module.php#L66
Vytautas

webtrees 1.7.9 (MODS: vytux_cousins, vytux_gallery3, vytux_pages, fancy_imagebar, fancy_treeview, Ancestral fan chart)
PHP 7.1.2, MySQL 5.7.17 x86_64 GPL, Nginx (mainline)
ged.vytux.com
Help translate Vytux Modules at translate.vytux.com/
The administrator has disabled public write access.

Version.txt 4 weeks 2 days ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10908
Initially, this will be displayed in the control panel - so that the user can know what version is installed.

In the future, I hope to be able to add functions to tell the user if a new version is available.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Version.txt 4 weeks 2 days ago #3

  • vytux
  • vytux's Avatar
  • Offline
  • Senior
  • Posts: 456
fisharebest wrote:
Initially, this will be displayed in the control panel - so that the user can know what version is installed.

In the future, I hope to be able to add functions to tell the user if a new version is available.
so the contents of the txt file should be just a version number or some sort of key/value pair?
Vytautas

webtrees 1.7.9 (MODS: vytux_cousins, vytux_gallery3, vytux_pages, fancy_imagebar, fancy_treeview, Ancestral fan chart)
PHP 7.1.2, MySQL 5.7.17 x86_64 GPL, Nginx (mainline)
ged.vytux.com
Help translate Vytux Modules at translate.vytux.com/
The administrator has disabled public write access.

Version.txt 4 weeks 2 days ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10908
Just a version number.

This way, we will be able to display something like:

"You are using version 1.2.4. This is the latest version"

"You are using version 1.2.4. Version 1.2.5 is available at $URL"
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.
Powered by Kunena Forum