badges (count) gone (AG 5.91)

This sub-forum is for discussing all topics related to AppGini Helper JavaScript Library, provided by bizzworxx as a third-party AppGini plugin.
Post Reply
User avatar
onoehring
AppGini Super Hero
AppGini Super Hero
Posts: 1167
Joined: 2019-05-21 22:42
Location: Germany
Contact:

badges (count) gone (AG 5.91)

Post by onoehring » 2020-11-09 08:37

Hi,

I want to show the count of the sub-records like viewtopic.php?f=13&t=3484
I have put the the following code into header-extras. Version 1 has worked in previous versions.

I have tried the version 1

Code: Select all

<script>
	new AppGiniDetailView().childrenTabs.showBadges();
</script>
and version 2

Code: Select all

<script>
	var dv = AppGiniHelper.DV;
	dv.childrenTabs.showBadges();
</script>
There is 1 Bilder, 2 Dokumente and 24 Änderungen...

Neither one works (right now) with AG 5.91.
badges_count_gone.gif
badges_count_gone.gif (31.02 KiB) Viewed 1261 times
This is how it should look like (old AG and AGHelper version, above code version 1):
badge_count_old.gif
badge_count_old.gif (4.51 KiB) Viewed 1261 times
Olaf

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1817
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: badges (count) gone (AG 5.91)

Post by jsetzer » 2020-11-09 08:52

Hi Olaf,
I'm sorry for that. I will have to do some research on this issue!

Workaround

Code: Select all

// file: hooks/header-extras.php
AppGiniHelper.Defaults.dv_childrenTabs_badges = true;
This should globally enable badges on children-tab captions in all detail forms.

This AppGiniHelper.Defaults-Feature is available since 2020/10 but in BETA.
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools


User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1817
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: badges (count) gone (AG 5.91)

Post by jsetzer » 2020-12-18 14:09

You are welcome!
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

Post Reply