[ic] search-region issue...

Kevin Walsh kevin at cursor.biz
Tue Mar 14 16:14:45 EST 2006


maillists <lists at gmnet.net> wrote:
> The interesting thing is that if you look at the top of the page, you
> can see the text "This community is no longer active. Use as example
> only." However the The field inactive is set to 0.
> 
> This is the essence of the community_viewer.html page:
> 
> [search-region]
> [search-list]
> 
> [if explicit]
> [condition]
>   [item-data communities inactive] =~ '1';
> [/condition]
>   This community is no longer active. Use as example only.
> [/if]
> 
This will be a tag parse order problem.

The [PREFIX-*] looping subtags (such as [item-data]) are replaced
with values by the [search-region] tag.  The rest of the "real"
Interchange tags (such as [if]) are then parsed as usual.

Try the following instead:

    [if-item-data communities inactive]
        This community is no longer active. Use as example only.
    [/if-item-data]

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


More information about the interchange-users mailing list