Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BSG Admin Header Background
#1
Hello,

something like this might already exist, but I didn't see it prior to write it.
I use GetSimple on several installation, and sometimes need to identify quickly on which website I'm working.
Using a custom background in the header of the page makes this easy, so I hacked this plugin.

It might be useful to some people too so here it is. There are no security checks yet since if someone can access your admin page, this plugin would be the least of your concern.

I will probably add an option to change the admin header gradient (or plain color) but right now it seems to do its job for me.

By the way : you can achieve quite the same thing using the excellent Admin Header-Footer plugin but this one is more straightforward for this specific purpose.

http://get-simple.info/extend/plugin/bsg...round/388/
edit : attached file removed and replaced by extend link
Bertrand
Reply
#2
Hello,

I like this.

I have also set a custom favicon for the admin pages of some sites – very useful for making the right browser tab selection. Would you consider extending your plugin to be able to do this, too ?

By the way, it seems to be impossible to load your plugin using the Extend downloader. I don't know which plugin has the problem. Trying to install (yours) fails with a message to download manually.
--
Nick.
Reply
#3
I haven’t looked into the extend downloaded, neither have I had any hand in the extend API. I would like to point at the Wiki page on how plugins interact with extend, especially the section on the package structure:
Code:
yourplugin.zip
  /yourplugin.php [this should be a unique across all plugins]
  /yourplugin/ [any folder(s) that your plugin may utilize]
Not that this plugin has the following structure:
Code:
bsg-admin-header-background.zip
  /bsg-adminbg.php
The names are not equal. This might well be the problem. Could you please rename either the ZIP archive or the main PHP file, Bertrand?
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply
#4
Hello,

@hameau : I will see if I can make it, sounds like a nice feature.
@Zegnåt : thanks for the information, I didn't look into the extend manager neither but this is certainly the explanation.

Bertrand
Reply




Users browsing this thread: 1 Guest(s)