http://forums.appgini.com/phpbb/downloa ... iew&id=166
Using 5.31.
Display a count on a homelink before to see a filtered table view:
hook\home-links.php
$homeLinks[] = array(
'url' => 'jeantable_view.php?FilterAnd[1]=&FilterField[1]=4&FilterOperator[1]=<=>&FilterValue[1]=products',
'icon' => 'images/p_logo.png',
'title' => 'Products',
'description' => '('.sqlValue("select count(*) from `jeantable` where `category` = 'products'").')',
'groups' => array('*'), // groups allowed to see this link
'grid_column_classes' => 'col-sm-6 col-md-4 col-lg-3',
'panel_classes' => 'panel-success',
'link_classes' => 'btn-success'
);
Attract your users!
Have fun with AppGini.
Jean
Display a count with a homelink
Re: Display a count with a homelink
here comes the screenshot:
Jean
Jean
Re: Display a count with a homelink
Thanks Jean
AppGini plugins to add more power to your apps:
- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.