Before asking for help please read "How to request help" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

Hide empty boxes for private favorites 3 months 2 weeks ago #1

  • avdl
  • avdl's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 165
For visitors, favorites block in main page shows empty boxes for private individuals (living individuals are hidden for visitors in my configuration).


Setup in main gedcom seems to be ok to hide those boxes ?


I would prefer boxes for private favorites where hidden rather than empty.
(with same setup in earlier version, private boxes where hidden in favorites)

Thanks for help,
Andre
Attachments:

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

Hide empty boxes for private favorites 3 months 1 week ago #2

  • rsbarreiro
  • rsbarreiro's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 118
go to the control panel under "custom css & JS" and in javascript add:

$(".wt-block-content-gedcom_favorites .wt-chart-box:not(:has('.wt-chart-box-extra'))").remove();

* translated by Google

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

Hide empty boxes for private favorites 3 months 1 week ago #3

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14084
There is no need for this.

I will fix this for the next release.
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.

Hide empty boxes for private favorites 3 months 1 week ago #4

  • rsbarreiro
  • rsbarreiro's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 118

fisharebest wrote: There is no need for this.

I will fix this for the next release.


in this case then it is better to wait for the next version instead of using this workaround.

* translated by Google

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

[Solved] Hide empty boxes for private favorites 2 months 3 weeks ago #5

  • avdl
  • avdl's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 165
thanks,

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

[Solved] Hide empty boxes for private favorites 1 month 5 days ago #6

  • avdl
  • avdl's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 165
boxes, indi names and photos are hidden in 2.0.11 but notes / comments added in favorite module for those indis are still there.

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

[Solved] Hide empty boxes for private favorites 1 month 5 days ago #7

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14084
Thanks. I'll fix this for the next release.
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