Index: [Article Count Order] [Thread]

Date:  Fri, 29 Sep 2006 10:42:59 +0200
From:  Jes Kasper Klittum <jes (at mark) enavn.com>
Subject:  [coba-e:07294] Re: Programming the BQ ui
To:  coba-e (at mark) bluequartz.org
Message-Id:  <451CDC93.8090304 (at mark) enavn.com>
In-Reply-To:  <200609290907.48484.bq (at mark) solarspeed.net>
References:  <451B8BC5.4090106 (at mark) enavn.com> <Pine.LNX.4.63.0609281052460.26101 (at mark) mail.nuonce.net> <451CBB24.10506 (at mark) enavn.com> <200609290907.48484.bq (at mark) solarspeed.net>
X-Mail-Count: 07294

Michael Stauber skrev:>
> Suggestion:
> 
> In your GUI page use ...
> 
> url="/base/feature/filename.php"
> 
> ... as Brian suggested.
> 
> Then create /usr/sausalito/ui/web/base/feature/filename.php and put the 
> following code in it:
> 
> <?php
> $dn = getenv('SERVER_NAME');
> header ("Location: http://$dn/myitem");
> ?>
> 
> Problem solved. 
> 
> That just one way to do it. There may be others that are more elegant, but 
> this gets the job done without too much jumping through too many loops.
> 
This is exactly what I needed. I even think I understand the syntax! :) 
Thank you.

Does anyone know of a source of documentation for the UI? I would like 
to make a menu item that only shows in the siteadmin, if a site has a 
ticked box in the site settings.
Is that possible?

Jes