[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gollem
Subject:    Re: [gollem] Gollem sidebar menu issue
From:       Michael M Slusarz <slusarz () mail ! curecanti ! org>
Date:       2005-08-16 3:08:59
Message-ID: 20050815210859.xtjtclp22o4o00ck () bigworm ! curecanti ! org
[Download RAW message or body]

Quoting AJ <aj@mindcrash.com>:

> Got it.  What do you think would be the best way to hide the backend 
> list if you are only using one backend?
> Perhaps we can check if $conf['backend']['backend_list'] = 'hidden' 
> and then loop around that piece of code?

Or just add a:

if (count($GLOBALS['gollem_backends']) < 1) {
  return;
}

to prevent addNode from ever being called.

michael

_______________________________________
Michael Slusarz [slusarz@curecanti.org]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic