[ic] Change text color in category listing

Jonathan Clark interchange-users@interchange.redhat.com
Mon Dec 17 10:45:01 2001


> On Mon, Dec 17, 2001 at 08:49:28AM -0600, Chad Wittrock wrote:
> >
> > Yes, the links point to $URL$. The link contains
> > http://chad.its-is.uni.edu/chclassics/$URL$. Here is a page you
> can look at
> > to see exactly what it is doing:
> > http://chad.its-is.uni.edu/cgi-bin/chclassics/index.html.
> >
> It would appear that I've been away from Interchange too long,
> after examining
> the code it seems that you can't pass link_template in this
> manner, and you
> have to specify it in either the area or cat tables in the database.

I think that:
> [cat-exec bar_link template=|<A HREF="$URL$"><FONT
> COLOR="#000000">$ANCHOR$</FONT></A>|]cat[/cat-exec]<BR>

should be:

[cat-exec bar_link]<A HREF="$URL$"><FONT
 COLOR="#000000">$ANCHOR$</FONT></A>[/cat-exec]<BR>

the template can be passed in enclosed part of the tag pair. This came in
about 4.6.3 I think..

>From an email 27 Nov 01:

Template order is:

   1) If there is text between the [loop-exec bar_link] and [/loop-exec]
this is used.
   2) if not, if there is a Link template for the Area or Cat entry this is
used.
   3) if not, if there is a variable called BAR_LINK_TEMPLATE this is used.
   4) if not, the default is '<A HREF="$URL$" CLASS="barlink">$ANCHOR$</A>'

Jonathan
Webmaint.