[ic] Tags in item text

Kevin Walsh interchange-users@icdevgroup.org
Mon Nov 25 13:46:00 2002


Dennis Chen [dchen@technicacorp.com] wrote:
> >
> > I'd like to put some links into the text for some of the items.
> > 
> > But if I just enter a <a href=... html tag, I loose the 
> > session information 
> > that IC adds automatically.
> > 
> > Any way to put a [page ...] tag into item texts?
> > 
> Use 
> 	<a href="[area yourpage]">hello world</a>
> 
> if your session is logged in, you can add additional stuff
> 	<a href="[area yourpage]&name=Jack">hello world</a>  
> otherwise do
> 	<a href="[area yourpage]?name=Jack">hello world</a>  
> 
Don't use '?' and '&' with [area].  [area] will take care of the URI
args for you in such a way as to not interfere with any existing args,
such as the session ID.  [area] will also hexify the args automatically,
where required:

    <a href="[area href=yourpage form=|
        name=Jack
        foo=bar
    |]">hello world</a>

The same goes for [page]:

    [page href=yourpage form=|
        name=Jack
        foo=bar
    |]hello world[/page]

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