This topic is locked

Add Badge values to menu items

4/14/2022 6:57:34 PM
PHPRunner General questions
A
asawyer13 authorDevClub member

Can I add a badge value to menu items via a query?

I am talking about the menu items like are shown in your demo4 site. Menu items that look like buttons.

Thanks
Alan

A
asawyer13 authorDevClub member 4/17/2022

Is there really no way to do this?

This is important to me

Thanks

fhumanes 4/17/2022

Hello,

I do not know exactly what you are asking.

I leave you an article where you explain how to customize the menus dynamically, in case you give you an idea to solve your problem.

https://fhumanes.com/blog/guias-desarrollo/guia-33-menu-de-contexto-seleccion-de-datos/

Greetings,
fernando

D
DealerModulesDevClub member 4/17/2022

If you are talking about something like this, I have put the link below.

img alt

https://xlinesoft.com/blog/2016/01/06/adding-badges-to-application-menu/

Hope this helps.

Paul

A
asawyer13 authorDevClub member 4/17/2022

Sorry for not explaining better.

I called it a menu but it's probably not, and probably is much easier to do than I am thinking, but I have been out of PHPRunner development for a number of years and getting back into it now.

If you look at:
This

what I'm wanting to do is where is says Products, I want to execute a sql query the returns for example the number of products, and then change the Products to say Products (45), for example.

Thanks
Alan

aadham 4/17/2022

I hope the link mbintex provided and this one would help you achieve what you're after.

Good luck!