Hi
I would love to change colours like this. I am not a fan of the standard colours.
Changing colours
-
- Veteran Member
- Posts: 159
- Joined: 2019-02-03 17:26
Changing colours
- Attachments
-
- Colour-ag.jpg (81.61 KiB) Viewed 3275 times
- baudwalker
- Veteran Member
- Posts: 188
- Joined: 2015-02-03 08:08
- Location: Bellingen NSW Australia
Re: Changing colours
in the app root you will find "home.php" find
this shows you how to change the first and all the others. I have not tried to change individual panels as yet.
Barry
Code: Select all
Classes of first and other blocks
---------------------------------
For possible classes, refer to the Bootstrap grid columns, panels and buttons documentation:
Grid columns: http://getbootstrap.com/css/#grid
Panels: http://getbootstrap.com/components/#panels
Buttons: http://getbootstrap.com/css/#buttons
*/
$block_classes = array(
'first' => array(
'grid_column' => 'col-md-6 col-lg-4',
'panel' => 'panel-warning',
'link' => 'btn-warning'
),
'other' => array(
'grid_column' => 'col-md-6 col-lg-4',
'panel' => 'panel-info',
'link' => 'btn-info'
)
);
Barry
-
- Veteran Member
- Posts: 159
- Joined: 2019-02-03 17:26
Re: Changing colours
Hi Barry
Is there anyway to do that in the hooks folder since it will be over written when updating my app.
Thank you
Is there anyway to do that in the hooks folder since it will be over written when updating my app.
Thank you
- baudwalker
- Veteran Member
- Posts: 188
- Joined: 2015-02-03 08:08
- Location: Bellingen NSW Australia
Re: Changing colours
not that I know of, sorry
Re: Changing colours
Hi,
one way to deal with your color-"Problem" would be to manually create the buttons. This can be done in the hooks Folder using the links-home.php. This would include them in the hooks folder. But the downside is: you would loose the automatic record count. Manually creating those would require to add sql-query to the links-home.php.
If you simple don't like the Default colors those can be changed in the bootstrap.css in /resources/initializr/css.
But this also would be overwritten when re-generating your app.
one way to deal with your color-"Problem" would be to manually create the buttons. This can be done in the hooks Folder using the links-home.php. This would include them in the hooks folder. But the downside is: you would loose the automatic record count. Manually creating those would require to add sql-query to the links-home.php.
If you simple don't like the Default colors those can be changed in the bootstrap.css in /resources/initializr/css.
But this also would be overwritten when re-generating your app.
Re: Changing colours
Did you try changing bootstrap.css and then making the file readonly?
You can also create an additional css file like hooks/header-extras.css and reference this in hooks/header-extras.php
Best,
Jan
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<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 readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: Changing colours
You're right Jan. Setting it read only would help. Had a second look today on the files that AG creates and potentially overwrites on second creation run. And noticed bootstrap.css is not part of it. So I was partially wrong with that.
-
- Veteran Member
- Posts: 159
- Joined: 2019-02-03 17:26
Re: Changing colours
Thanks Guys, I like your suggestion Jan, I will work my way through that one in the next day or two. I know so little when it comes to customizing but I really enjoy learning. I love using your JS Helper for super easy tabs, with you and Ahmad leading the way I am looking forward very much to develop my own applications without being a programmer. If great application ideas can be implemented with an "almost" out of the box AppGini than I am all in, this will turn out to be my "retirement" business. Thanks to everyone in the forum as well, I couldn't do this without their help as well.