phpgroupware-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-users] favicon (was New Install Help)


From: Dave Hall
Subject: Re: [Phpgroupware-users] favicon (was New Install Help)
Date: Sun, 18 Dec 2005 17:34:50 +1100

On Sun, 2005-12-18 at 06:20 +0000, Chris Weiss wrote:
> On 12/18/05, Dave Hall <address@hidden> wrote:
> > On Sun, 2005-12-18 at 01:00 +0000, Chris Weiss wrote:
> > > On 12/17/05, Robert Steinmetz <address@hidden> wrote:
> >
> > > >
> > > > I was also getting this error
> > > > "File does not exist:
> > > > /usr/local/apache/share/htdocs/phpgroupware/favicon.ico"
> > > > I copied the file from the default template and that seems to have 
> > > > stopped.
> > >
> > > makes sence, simple solution too.  Dave, can you do this for the new 
> > > release?
> >
> > I will check all the templates.  I personally favour it being in
> > phpgwapi/templates/default/images/favicon.ico and the common::image()
> > being used to find it.  That way a specific template can have its own.
> 
> so long as you add the following to the templates so the browser can
> find it in the alternate path:
>    <link rel="shortcut icon" href="phpgwapi/template/foo/favicon.ico"
> type="image/x-icon" />
> 
> maybe even this:
>    <link rel="shortcut icon" href="favicon.php" type="image/x-icon" />
> and have a small script that readfile()'s the current template's ico file
> 

That creates too much server load and extra script execution for each
page call as it won't be cached.  

The idea behind common::image is that it does the image search and
populates the <head><link href="{favicon}" /> for us :)

Cheers

Dave
-- 
Dave Hall (aka skwashd)
API Coordinator
phpGroupWare
e address@hidden
w phpgroupware.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]