Page 1 of 1

Make First Table in Home Page Normal not "btn-warnin"

Posted: 2020-11-07 11:38
by mohamed
Hello,

Is there a way in AppGini to make the first table in home page, normal, not orange ?!
I mean setting up the 'panel' and 'link' as 'btn-info' NOT 'btn-warning' !!

At the moment I am able to do the color change by editing HOME.PHP which gets overwritten every time, I regenerate the code :|


home.php
$block_classes = array(
'first' => array(
'grid_column' => 'col-sm-6 col-md-4 col-lg-3',
'panel' => 'panel-warning',
'link' => 'btn-warning'
),

'other' => array(
'grid_column' => 'col-sm-6 col-md-4 col-lg-3',
'panel' => 'panel-info',
'link' => 'btn-info'
)
);

Re: Make First Table in Home Page Normal not "btn-warnin"

Posted: 2020-11-09 19:38
by Moh Youba
Hello

Here what me I do :lol:

I create a first table and hide it, then it is consider as the first table, see pic
hide_table.jpg
hide_table.jpg (143.3 KiB) Viewed 2031 times
Best regards

Re: Make First Table in Home Page Normal not "btn-warnin"

Posted: 2020-11-11 10:20
by mohamed
Hi Moh Youba,

I like your trick .. :o :)

Thanks a lot -- will try it...

Re: Make First Table in Home Page Normal not "btn-warnin"

Posted: 2020-11-12 16:54
by onoehring
Hi Moh Youba,

great idea. Keep 'em comming :-)
Olaf