±Abi
Tagasi üles
Skip to content
Skip to menu
Tagasi üles
Back to main
Skip to menu
Stylesheet editor
Stylesheet editor
Hi Everyone,
I found an old plugin for Dragonfly called Easy Stylesheet Edit I'm not sure if you've heard of it but if you haven't I have attached a copy if you want to look at it.
I'm not a programmer by any means, just a cut and joiner type of person, but I have hacked this up so that I can edit the specific.css in the admin area and it worked a treat. I can edit the specific style sheet to change the look and feel of the site.
unzip file and load css.php into public_html/admin/modules
and add stylesheet.png into your themes/YOURTHEME/images/admin folder of your theme ( a Redesign one)
Added this bit of code to the bottom of public_html/admin/links/adlnk_main.php
and hopefully it should be all good.
I can't take any credit for it nor support it
Maybe someone with a bit more knowledge might be able to take it a bit further.
Cheers
Rusty_'s server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 2.2.6 / 5.0.45 / 5.2.4 / 9.2.1
I found an old plugin for Dragonfly called Easy Stylesheet Edit I'm not sure if you've heard of it but if you haven't I have attached a copy if you want to look at it.
I'm not a programmer by any means, just a cut and joiner type of person, but I have hacked this up so that I can edit the specific.css in the admin area and it worked a treat. I can edit the specific style sheet to change the look and feel of the site.
unzip file and load css.php into public_html/admin/modules
and add stylesheet.png into your themes/YOURTHEME/images/admin folder of your theme ( a Redesign one)
Added this bit of code to the bottom of public_html/admin/links/adlnk_main.php
Kood:
if (can_admin()) {
$menuitems['_AMENU1']['Edit stylesheet']['URL'] = adminlink('css');
$menuitems['_AMENU1']['Edit stylesheet']['IMG'] = 'stylesheet';
}and hopefully it should be all good.
I can't take any credit for it nor support it
Maybe someone with a bit more knowledge might be able to take it a bit further.
Cheers
Rusty_'s server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 2.2.6 / 5.0.45 / 5.2.4 / 9.2.1
-

Rusty_ - Algaja

Re: Stylesheet editor
Works well, thanks for that, Rusty_, I'm sure someone else would also find it useful.
Btw, it's also possible to add more admin links by not editing /admin/links/adlnk_main.php either my making module instead (which goes under /modules) or simply new file to links folder with name adlnk_whatever.php, where whatever can be whatever. If using the last approach cache needs to be deleted as well (specifically config_adlinks.php in /cache directory).
Madis's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.5/9.2.1
Btw, it's also possible to add more admin links by not editing /admin/links/adlnk_main.php either my making module instead (which goes under /modules) or simply new file to links folder with name adlnk_whatever.php, where whatever can be whatever. If using the last approach cache needs to be deleted as well (specifically config_adlinks.php in /cache directory).
Madis's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.5/9.2.1
-

Madis - Administraator

Sa ei saa teha siia alafoorumisse uusi teemasid
Sa ei saa vastata siinsetele teemadele
Sa ei saa muuta oma postitusi
Sa ei saa kustutada oma postitusi
Sa ei saa hääletada küsitlustes
Sa ei saa lisada faile selles alafoorumis
Sa saad allalaadida faile selles alafoorumis
Sa ei saa vastata siinsetele teemadele
Sa ei saa muuta oma postitusi
Sa ei saa kustutada oma postitusi
Sa ei saa hääletada küsitlustes
Sa ei saa lisada faile selles alafoorumis
Sa saad allalaadida faile selles alafoorumis
