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

Re: [ic] search-region issue...


maillists <suppressed> 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
 _/ _/    _/          _/ _/     _/    _/  _/_/    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.