[ic] DirConfig and CSS

Jeff Obranovich interchange-users@icdevgroup.org
Sun Jan 5 18:57:01 2003


Ian,
This same problem has been driving me nuts!
When you created your style sheet:
did you create it in a text editor and set the TEME_CSS variable equal to
the path to your CSS file?
Or, were you required to use "Personal CSS / set styles" under the
Preferences tab in the AdminUI?

Thanks for any info.
Jeff

-----Original Message-----
From: interchange-users-admin@icdevgroup.org
[mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Ian Corner
Sent: Sunday, January 05, 2003 2:32 PM
To: interchange-users@icdevgroup.org
Subject: RE: [ic] DirConfig and CSS


I never managed to resolve this using the IC method of setting the variable
in theme.cfg. In the end I made the THEME_CSS variable set to point to a
seperate style sheet file and it works perfectly.

I would still be interestee to know what the problem was though should
anyone resolve the issue.

Thanks for any help.
Ian

-----Original Message-----
From: interchange-users-admin@icdevgroup.org
[mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Ian Corner
Sent: 05 January 2003 04:03
To: interchange-users@icdevgroup.org
Subject: RE: [ic] DirConfig and CSS


sadly, I do not have the capabilty to use patches as I host the service. Any
other ideas?

Regards,
Ian

-----Original Message-----
From: interchange-users-admin@icdevgroup.org
[mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Kevin Walsh
Sent: 05 January 2003 00:07
To: interchange-users@icdevgroup.org
Subject: RE: [ic] DirConfig and CSS


Ian [ian@w3it.com] wrote:
>
> I am having a problem with templates.
>
> From documentation and search results of the mailing lists, I should be
able
> to reflect templates with the following line in theme.cfg file of the
> relevant theme. However this does not seem to work.
>
> DirConfig Variable templates/__THEME__/regions
>
> I found a mention of using catalog.cfg with varible settings like the
> following:
>     Variable LEFTONLY   [include templates/LEFTONLY]
>     Variable LEFTRIGHT   [include templates/LEFTRIGHT]
>     Variable LEFTRIGHT_TOP  [include
> templates/__THEME__/regions/LEFTRIGHT_TOP]
>     Variable LEFTRIGHT_BOTTOM [include
> templates/__THEME__/regions/LEFTRIGHT_BOTTOM]
>
> This works however the THEME_CSS set in theme.cfg does not seem to get set
> or translated. Using __THEME_CSS__ in LEFTRIGHT_TOP template and
index.html
> produces a blank. Here is the actual variable seting in catalog.cfg:
>
> Variable THEME_CSS <<EOV
> <STYLE TYPE="text/css">
>     ...snip...
> </STYLE>
> EOV
>
Try the following patch.  I'll have a play with it and book it into
CVS later.

======================================================================
*** Config.pm   1 Jan 2003 14:13:05 -0000       2.88
--- Config.pm   4 Jan 2003 23:04:45 -0000
***************
*** 3231,3236 ****
--- 3231,3237 ----
                        next unless -f "$dir/$_";
  #::logDebug("reading key=$_ from $dir/$_");
                        $ref->{$_} = readfile("$dir/$_",
$Global::NoAbsolute, 0)
;
+                       $ref->{$_} = substitute_variable($ref->{$_}) if
$C->{Par
seVariables};
                        $sref->{$_} = "$dir/$_";
                }
        }
======================================================================

--
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/

_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users

_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users

_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users