Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2015-10-30 19:33:38
- gfdesign
- Member
- From: Argentina
- Registered: 2009-04-20
- Posts: 401
How to customize admin screens
Hi dear community.
I wonder what is the best practice to customize the TXP admin screens even the login screen.
I’ve used the ‘hpw_admincss’ plugin but the login screen remains with the default styles. Also, I’ve tried with ‘wet_hive’ theme but it doesn’t work with some screens that belong to some plugins such as ‘rah_wrach’ plugin, where you choose the section before to enter to “Write” tab.
Any suggestion will be welcome.
Thanks
Offline
Re: How to customize admin screens
I do it using the principle from wet hive that you already mention with an own name and css file, and then add extra css for the plugins that don’t use the normal txp functions.
You can see that rah_wrach adds its own html elements and css as part of the plugin. You may need to increase the specificity of your css or use !important to override the plugin’s own css (my guess is it gets injected into the page output after your theme css, and overrides it).
BTW: Jukka’s main site is throwing an error at the moment :-(
TXP Builders – finely-crafted code, design and txp
Offline
#3 2015-10-31 16:41:44
- gfdesign
- Member
- From: Argentina
- Registered: 2009-04-20
- Posts: 401
Re: How to customize admin screens
Hi Jakob thanks for replying but wet_hive still does not work in the rah_wrach screen.
Definitely, wet_hive.css doesn’t load. In this screen the plugin tries to load in this url:
http://mysite/textpattern/theme/hive/wet_hive.css
when it should be:
http://mysite/textpattern/theme/wet_hive/wet_hive.css
Therefore, I won’t be able to solve as you suggested adding !important rules because no there that file in that address.
The only solution I found was copy this file in http://mysite/textpattern/theme/hive/ although I know it’s not a good idea.
Anyway, thanks for your time.
Regards
Offline
Re: How to customize admin screens
Hmm, it looks like rah_wrach might be a special case here as it inserts itself into the write page…
Try changing this line of wet_hive.php
as follows:
$myurl = 'theme/wet_hive/';
… or whatever directory your theme is in. The $myurl
variable is used just once a few lines further down to load the css file so as far as I can tell, it doesn’t affect anything else.
TXP Builders – finely-crafted code, design and txp
Offline
#5 2015-11-04 19:09:11
- gfdesign
- Member
- From: Argentina
- Registered: 2009-04-20
- Posts: 401
Re: How to customize admin screens
Hi Jacob
Actually, that worked.
Many thanks :)
Cheers
Offline
Pages: 1