[ic] Setting values in tags
kerry
kerry at basicq.com
Tue Jun 12 12:47:42 UTC 2018
Mike, I was unaware, but best of luck!
Kerry
On 06/12/2018 08:34 AM, Gert van der Spoel wrote:
> Good luck Mike, hope you’ll recover fast!
>
>
>
> *From:*interchange-users-bounces at icdevgroup.org
> [mailto:interchange-users-bounces at icdevgroup.org] *On Behalf Of *Mike Heins
> *Sent:* Tuesday, June 12, 2018 15:29
> *To:* interchange-users at icdevgroup.org
> *Subject:* Re: [ic] Setting values in tags
>
>
>
> When my carpal tunnel surgery happens, maybe even a bit more. I can hope!
>
>
>
> On Tue, Jun 12, 2018 at 7:25 AM, Gert van der Spoel <gert at 3edge.com
> <mailto:gert at 3edge.com>> wrote:
>
> > -----Original Message-----
> > From: interchange-users-bounces at icdevgroup.org
> <mailto:interchange-users-bounces at icdevgroup.org>
> [mailto:interchange-users- <mailto:interchange-users->
> > bounces at icdevgroup.org <mailto:bounces at icdevgroup.org>] On Behalf
> Of Mike Heins
> > Sent: Tuesday, June 12, 2018 14:49
> > To: interchange-users at icdevgroup.org
> <mailto:interchange-users at icdevgroup.org>
> > Subject: Re: [ic] Setting values in tags
> >
> > Quoting Ren?? (interchange at hertell.com
> <mailto:interchange at hertell.com>):
> > > Hi All!
> > >
> > > I am trying to solve probably a very easy problem, but currently my
> > > brain just stands still and won't help me :-(
> > >
> > > I'm replacing the product_tree-menu with a Bootstrap accordion-menu,
> > > and I want it to keep the menu open at the right product_group when
> > > I'm browsing down to item-level or category-level.
> > >
> > > To be able to catch the current product_group and category, i have
> > > modified the ncheck_category-tag to save the current prod_group and
> > > category by adding this to the right place of the tag:
> > >
> > > $::Values->{prod_group} = "$prod_group"; $::Values->{category} =
> > > "$category";
> > >
> > > I get these values nicely set, but they tend to get "stuck", so if i
> > > get to a non-product page like index.html, these values are
> still with
> > > the old value set, and they get cleared only after a page-refresh..
> > >
> > > What should i do so that i can use the session for storing
> values that
> > > are valid only for the current page, and are "forgotten" when
> the next
> > > page is loadedd or the value is not more set by the
> > > ncheck_category.tag?
> > >
> > > Best Regards from Finland
> >
> > Probably the best place is $Tmp:
> >
> > $Tmp->{prod_group} = "$prod_group";
> > $Tmp->{category} = "$category";
> >
> > If you are global and in a different package than Vend::Interpolate:
> >
> > $Vend::Interpolate::Tmp->{prod_group} = "$prod_group";
> > $Vend::Interpolate::Tmp->{category} = "$category";
> >
> > Then they can be accessed with:
> >
> > [tv prod_group]
>
> Mike still has it! ;)
>
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> <mailto:interchange-users at icdevgroup.org>
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
> <https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fwww.icdevgroup.org%2fmailman%2flistinfo%2finterchange-users&c=E,1,CVeFJRhe5CprrTLJ7ernDwIsJf2VpJwX4UuX2N1i2APmdhAz2i6RnbYFc7QVViNA_1ewg4Cs6qO4ztcylsuK4QYpNET9TzeAkIfD0DV2PvgxtzftGQ,,&typo=0>
>
>
>
>
> --
>
> Just because something is obviously happening doesn't mean something
> obvious is happening. --Larry Wall
>
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fwww.icdevgroup.org%2fmailman%2flistinfo%2finterchange-users&c=E,1,l5T7YhPNd9Lgq172Zh21r6gI_NeXdW1zQ2dvARRl7MFbkgyOVpVgAylTChwB27ObAibFM-b8IUyALHdFEbac1wxfzcd96hY4A2zFbSnPnpCD2JuVfOLOsW3D20HS&typo=0
>
--
BasicQ Inc.
PO Box 381
Boca Raton, FL 33429
Phone: 800-448-0665
email: kerry at basicq.com
www.basicq.com
https://johnson.basicq.com
More information about the interchange-users
mailing list