Welcome to Geeklog, Anonymous Wednesday, December 11 2024 @ 12:12 am EST
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
26
21
Quote
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1470
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.
21
18
Quote
All times are EST. The time is now 12:12 am.
- 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