Before asking for help please read "Requesting Help and Suggestions" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

Date->display - missing @param (bool) $url link to calendar.php 1 month 6 days ago #1

  • geme
  • geme's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 38
How can I display the date without a link in "calendar.php"?
Does somebody has any idea?

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

Last edit: by geme.

Date->display - missing @param (bool) $url link to calendar.php 1 month 6 days ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 16208
The function is here: github.com/fisharebest/webtrees/blob/2.1.6/app/Date.php#L101

If the first parameter is a tree, then the date is displayed in a link to the calendar page for that tree.
If the first parameter is null, then the date is displayed without a link
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