[ic] DirConfig and CSS

jeff obranovich interchange-users@icdevgroup.org
Mon Jan 6 07:44:00 2003


Thanks for the info.

On Mon, 2003-01-06 at 11:12, Ian Corner wrote:
> Jeff
> >did you create it in a text editor and set the TEME_CSS
> >variable equal to the path to your CSS file?
> I just cut and paste the style code from the theme.cfg file into a new
> style.css file and changed the settings. Then set the Variable THEME_CSS to
> <link rel="stylesheet" href="/path-to-file/style.css" type="text/css">
> 
> i looked at that Personal CSS page but opted to leave it alone. When I read
> the help that came with the page (see below) I did not want to escalate any
> problems and opted for something that I did know about.
> --- snipit from help
> The Knar table stores store-wide configuration information. If you don't
> know about store-wide configuration, it probably won't help you much. On the
> other hand, if you just can't find the place to tweak the value you're
> looking for, it might be worth poking around (gently!) in here.
> ---
> 
> Hope it helps.
> Ian
> 
> 
> -----Original Message-----
> From: interchange-users-admin@icdevgroup.org
> [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Jeff
> Obranovich
> Sent: 06 January 2003 00:56
> To: interchange-users@icdevgroup.org
> Subject: RE: [ic] DirConfig and CSS
> 
> 
> 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
> 
> _______________________________________________
> 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
>