<div dir="ltr">When my carpal tunnel surgery happens, maybe even a bit more. I can hope!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 12, 2018 at 7:25 AM, Gert van der Spoel <span dir="ltr"><<a href="mailto:gert@3edge.com" target="_blank">gert@3edge.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">> -----Original Message-----<br>
> From: <a href="mailto:interchange-users-bounces@icdevgroup.org">interchange-users-bounces@<wbr>icdevgroup.org</a> [mailto:<a href="mailto:interchange-users-">interchange-users-</a><br>
> <a href="mailto:bounces@icdevgroup.org">bounces@icdevgroup.org</a>] On Behalf Of Mike Heins<br>
> Sent: Tuesday, June 12, 2018 14:49<br>
> To: <a href="mailto:interchange-users@icdevgroup.org">interchange-users@icdevgroup.<wbr>org</a><br>
> Subject: Re: [ic] Setting values in tags<br>
> <br>
> Quoting Ren?? (<a href="mailto:interchange@hertell.com">interchange@hertell.com</a>):<br>
> > Hi All!<br>
> ><br>
> > I am trying to solve probably a very easy problem, but currently my<br>
> > brain just stands still and won't help me :-(<br>
> ><br>
> > I'm replacing the product_tree-menu with a Bootstrap accordion-menu,<br>
> > and I want it to keep the menu open at the right product_group when<br>
> > I'm browsing down to item-level or category-level.<br>
> ><br>
> > To be able to catch the current product_group and category, i have<br>
> > modified the ncheck_category-tag to save the current prod_group and<br>
> > category by adding this to the right place of the tag:<br>
> ><br>
> > $::Values->{prod_group} = "$prod_group"; $::Values->{category} =<br>
> > "$category";<br>
> ><br>
> > I get these values nicely set, but they tend to get "stuck", so if i<br>
> > get to a non-product page like index.html, these values are still with<br>
> > the old value set, and they get cleared only after a page-refresh..<br>
> ><br>
> > What should i do so that i can use the session for storing values that<br>
> > are valid only for the current page, and are "forgotten" when the next<br>
> > page is loadedd or the value is not more set by the<br>
> > ncheck_category.tag?<br>
> ><br>
> > Best Regards from Finland<br>
> <br>
> Probably the best place is $Tmp:<br>
> <br>
>  $Tmp->{prod_group} = "$prod_group";<br>
>  $Tmp->{category} = "$category";<br>
> <br>
> If you are global and in a different package than Vend::Interpolate:<br>
> <br>
>  $Vend::Interpolate::Tmp->{<wbr>prod_group} = "$prod_group";<br>
> $Vend::Interpolate::Tmp->{<wbr>category} = "$category";<br>
> <br>
> Then they can be accessed with:<br>
> <br>
>       [tv prod_group]<br>
<br>
</div></div>Mike still has it! ;)<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<wbr>_________________<br>
interchange-users mailing list<br>
<a href="mailto:interchange-users@icdevgroup.org">interchange-users@icdevgroup.<wbr>org</a><br>
<a href="http://www.icdevgroup.org/mailman/listinfo/interchange-users" rel="noreferrer" target="_blank">http://www.icdevgroup.org/<wbr>mailman/listinfo/interchange-<wbr>users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Just because something is obviously happening doesn't mean something<br>obvious is happening. --Larry Wall<br></div></div></div>
</div>