[ic] Change text color in category listing

Chad Wittrock interchange-users@interchange.redhat.com
Fri Dec 14 16:38:00 2001


> > >
> > > On Fri, Dec 14, 2001 at 01:26:04PM -0600, Chad Wittrock wrote:
> > > > I have been searching and trying all kinds of things to try to
> > > figure this
> > > > out. I am trying to change the font color of the listing of
> > > categories on
> > > > the leftside of the construct demo. I found the loop that
> > > produces the list
> > > > and put a <font color="#000000"> in front of the loop. Nothing.
> > > It appears
> > > > that when bar_link is called to build the link that it is
> > > setting the color
> > > > with its own font tag. I looked in bar_link and found nothing
> > > there to help.
> > > > Here is the code from /templates/regions/LEFTRIGHT_TOP (which
> > > is called for
> > > > the particular page that I am working with):
> > >
> > > This color comes from the barlink class, and is set in the
> > > bar_link function,
> > > you can change this either by changing the color in your .css for
> > > the barlink
> > > class, or by passing a new template to bar_link to give it a
> > > different color,
> > > something like this:
> > >
> > > [cat-exec bar_link template=|<A HREF="$URL$"><FONT
> > > COLOR="#000000">$ANCHOR$</FONT></A>|]cat[/cat-exec]<BR>
> > >
> >
> > I copied this line into my region file and removed the old line.
> > When I view
> > the page, the text is black!!! But. . . my links all read
> >
> > [cat-exec bar_link template=|$ANCHOR$|]
> >
> > Its like it is not interpretting the template correctly. Is it typed
> > correctly? I don't have much experience with this so I don't know if it
> > looks right or not.
> >
> > Also, I did a search of my whole machine and the only .css that I
> > found that
> > appeared to have something to do with interchange was:
> >
> > /usr/lib/interchange/share/akopia/ui/help
> >
> > Where would I find this .css that you are talking about?
>
> I'm not sure about using the template above.  However I found
> that modifing the CSS work well for me.  By default it is in the
> template/foundation/theme.cfg file.
>
> Good luck.
>
> <>< Todd

I am running IC 4.6 and it doesn't have the foundation catalog. is there
anyway to do this without the theme.cfg file or is there some other file
that was used in 4.6 that will do this?

Chad

>
> >
> > Either fix is great if I can just get one working.
> >
> > Thanks
> > Chad
> > > or
> > >
> > > [cat-exec bar_link template=|<A HREF="$URL$"
> > > CLASS=newclass>$ANCHOR$</A>|]cat[/cat-exec]<BR>