[imp] New upgrade- thanks!

Tim Gorter email@teletechnics.com
Mon, 23 Sep 2002 22:16:14 +0200


Could one still suggest doing something like the following:

adding to the bottom of each common-header.inc

<?php 
if (!isset($show_generic)) $show_generic = 'true';
if( file_exists(HORDE_BASE . '/config/generic-common-header.php') && 
    $show_generic != 'false')
    include HORDE_BASE . '/config/generic-common-header.php';
?>


and in hode/menu.php (so that this generic header does not get used in the
bottom frame)

Index: menu.php
===================================================================
RCS file: /repository/horde/menu.php,v
retrieving revision 2.28
diff -r2.28 menu.php
16a17
> $show_generic = 'false';


and now one can place a file called

horde/config/generic-common-header.php
with contents like..
<!-- This file contains any code you wish included in the header of all pages -->
<!-- It is included by a call from the common-header.php of each module. -->

....... what ever they want shown at the top of the page .............


This would at least give people the choice of simple branding with a banner
or alike at the top, without too much hassle.

cheers,
tim.


Tuesday, September 17, 2002, 4:06:50 AM, Jon Parise wrote:

JP> On Mon, Sep 16, 2002 at 04:13:00PM +0200, Derek Au wrote:

>> The only feature request I can think of is adding a config file for branding
>> (something like motd.php) that would allow people to add a section of HTML code
>> for their company (e.g. Greenpeace logo gif).  This would eliminate the need to
>> edit /templates/common-header for each application.
 
JP> We used to offer such a capability, but users kept asking for more
JP> configurable branding (i.e. moving logos about, etc.).  Instead, we've
JP> opted for asking our users to just edit the HTML templates to suit
JP> their needs.  That way, they get exactly what they want, and we don't
JP> have to maintain more configuration options in our UI.

JP> -- 
JP> Jon Parise (jon@horde.org) :: The Horde Project (http://horde.org/)