Different admin panel colour on home page

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
User avatar
shasta59
AppGini Super Hero
AppGini Super Hero
Posts: 231
Joined: 2013-01-08 19:40
Location: Calgary, Alberta, Canada

Different admin panel colour on home page

Post by shasta59 » 2013-02-01 19:58

So you do not like the magenta admin page colour? It is easy to fix by making a change to the home.php file.

Look around line 64 on the home.php page for the following code:

if(getLoggedAdmin()){
?><div onclick="window.location='admin/';" id="admin-link-tile" class="tile one
magentabg"><a href="admin/"><h2 style="margin-top: 45px"><?php echo $Translation['admin area']; ?></h2></a></div><?php

Change the text in red to the colour of your choice. The colours are found in the metro.css file. You can either create your own new one or use an existing colour defined in the css file. See my tip here re doing this:

http://forums.appgini.com/phpbb/viewtopic.php?f=8&t=68

Enjoy, have fun. As always let me know if more explanation is needed.

Alan
Calgary, Alberta, Canada - Using Appgini 5.50 -

Post Reply