[ic] Show/hide sub-navigation?

Thomas J.M. Burton interchange-users@icdevgroup.org
Tue Oct 29 15:41:01 2002


From: "Jeff Dafoe" <jeff@badtz-maru.com>


>     I have the functionality you describe and I used a ghetto solution.  At
> the top of the category_vertical I do a:
> 
> [tmp matchstring][value-extended name=mv_searchspec joiner=" | "][/tmp]
> 
>     Then in category_vertical right above the loop that displays the cats I
> do:
> 
> [tmp disp_subnav]0[/tmp]
> [if scratch matchstring =~ /[box-data area name]/i]
>         [tmp disp_subnav]1[/tmp]
> [/if]
> [if scratch disp_subnav == 1]
>     <cat loop here>
> [/if]
> 
> 
> Jeff


Thanks, Jeff!

That worked perfectly, I wish I'd posted to the list sooner. :)

-Tom