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

RE: [ic] Category external link target


N.E.S.T. Solutions suppressed wrote:
> I will definitely look into these files to modify as needed cause I
> will have quite a few of those links, that's why I'd prefer to have it
> automatic instead of having to put the code in link_template everytime.
>
Well, in the "bar_link", you can probably just add a line like this:

	$record->{EXPAND} = $expand;
	$record->{URL} = $url;
+	$record->{TARGET} = qq{target="$record->{target}"} if $record->{target};

You'd have to create a "target" column, of course, and you'd have to
change the default "link_template" to something like this:

    <a href="$URL$" $TARGET$ class="barlink">$ANCHOR$</a>

All untested, of course.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    suppressed
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/

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


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.