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

Re: Configuring cssdir ?



On Fri, 2012-06-08 at 06:29 -0400, Chris Travers wrote:
> On Fri, Jun 8, 2012 at 2:56 AM, Robert James Clay <..hidden..> wrote:
> 
> >   I'll keep working on why I can't seem to get it to work, then.
> > (Besides some documentation updates, it's the last change needed for the
> > 1.3.18-1 Debian package...)
> 
> What are you setting it to?   What would the URL look like?

  I have it partially working;  display is good but can't edit online
and an apache error still comes up.

  The css directory is at /var/lib/ledgersmb/css. I've tried having
"/lsmbcss" aliased to that in /etc/apache2/conf.d/ledgersmb-httpd.conf,
and cssdir as "/lsmbcss/" in /etc/ledgersmb/ledgersmb.conf
and /usr/share/ledgersmb/LedgerSMB/Sysconfig.pm.

  And even though the display of the page is coming up correctly with it
set like that (i.e.;  the css is being used) the following error is
still coming up just going to the login page:  File does not
exist: /usr/share/ledgersmb/css, referer:
http://lsmbtst/ledgersmb/login.pl.

  Something I should have thought to check before: I looked at the page
source for the login page and there are actually two references to the
main stylesheet, with the one for "UI/login.css" in between:

-----------------------------------------------------------------------
	<link rel="stylesheet" href="/lsmbcss/ledgersmb.css" type="text/css"
title="LedgerSMB stylesheet" />
	
	
	<link rel="stylesheet" href="UI/login.css" type="text/css"
title="LedgerSMB stylesheet" />
	
	<link rel="stylesheet" href="css/ledgersmb.css" type="text/css"
title="LedgerSMB stylesheet" />
-----------------------------------------------------------------------
	
	And I looked at the 'Stylesheet' menu item again in bin/am.pl (for
1.3.18), where it's going to the display_stylesheet subroutine: it looks
like the stylesheet reference there is hard coded to be
"css/$myconfig{stylesheet}" (line 1275).   









Jame








Jame