Welcome to Geeklog, Anonymous Friday, September 29 2023 @ 05:07 am EDT

Geeklog Forums

Using two themes in geeklog

Status: offline


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

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



D Web Studio - www.d-webstudio.net

Status: offline


Site Admin
Registered: 09/27/05
Posts: 1466
Thanks for the hack.

FYI we are thinking of having a seperate Admin theme in future Geeklog versions.

One of the Geeklog Core Developers.

All times are EDT. The time is now 05:07 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