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.
  • Page:
  • 1

TOPIC:

Version.txt 1 year 3 months ago #1

  • vytux
  • vytux's Avatar Topic Author
  • Offline
  • Senior
  • Senior
  • Posts: 459
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/

Please Log in or Create an account to join the conversation.

Version.txt 1 year 3 months ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13196
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

Please Log in or Create an account to join the conversation.

Version.txt 1 year 3 months ago #3

  • vytux
  • vytux's Avatar Topic Author
  • Offline
  • Senior
  • Senior
  • Posts: 459

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/

Please Log in or Create an account to join the conversation.

Version.txt 1 year 3 months ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13196
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

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum