Welcome to Geeklog, Anonymous Tuesday, April 29 2025 @ 07:34 pm EDT
Geeklog Forums
Using two themes in geeklog
Status: offline
alb3rt
Forum User
Regular Poster
Registered: 10/30/06
Posts: 71
Location:Mexico City
A few days ago I was asking how to have two headers in geeklog to customize the "admin" section.
I could implement it by adding a few lines to public_html/siteconfig.php
$_admin_url = 'nikolabatina.com.mx/admin/'; //your url admin
$admin_url = $_SERVER["SERVER_NAME"] . $_SERVER["REQUEST_URI"] ;
$pos = strpos($admin_url, $_admin_url);
if ($pos !== false) $_CONF['theme'] = 'dashboard'; //theme for admin -different from the default theme-
This work for me
https://www.nikolabatina.com.mx
https://www.nikolabatina.com.mx/admin/
Bye,
D Web Studio - www.d-webstudio.net
I could implement it by adding a few lines to public_html/siteconfig.php
Text Formatted Code
$_admin_url = 'nikolabatina.com.mx/admin/'; //your url admin
$admin_url = $_SERVER["SERVER_NAME"] . $_SERVER["REQUEST_URI"] ;
$pos = strpos($admin_url, $_admin_url);
if ($pos !== false) $_CONF['theme'] = 'dashboard'; //theme for admin -different from the default theme-
This work for me
https://www.nikolabatina.com.mx
https://www.nikolabatina.com.mx/admin/
Bye,
D Web Studio - www.d-webstudio.net
31
29
Quote
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1475
Location:Canada
Thanks for the hack.
FYI we are thinking of having a seperate Admin theme in future Geeklog versions.
https://github.com/Geeklog-Core/geeklog/issues/845
One of the Geeklog Core Developers.
FYI we are thinking of having a seperate Admin theme in future Geeklog versions.
https://github.com/Geeklog-Core/geeklog/issues/845
One of the Geeklog Core Developers.
23
23
Quote
All times are EDT. The time is now 07:34 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content