RE: [mru] Token....Code??
If you're using the Search Manager (which, besides giving more robust
search functionality, provides for "templates and tokens" formatting
of the search page), you can put conditional code around the token
which displays the search field:
%begin_if|BasketList.d.cust_id|%
%searchbox
%end_if%
Similarly, you could add a "you must be logged in" type message by
testing the opposite:
%begin_if|NOT BasketList.d.cust_id|%
You must be logged in before you can search our store
%end_if%
If you're NOT using the Search Manager then I don't think you can
accomplish this with the template modules alone.
Michael Brock
[email protected]
http://mikeWorks.com, to make your Merchant store fit your vision
[email protected]
http://vikingcoders.com, coders with axes and a boat
Our demo store:
<A HREF ="http://www.mvdevelopment.com/">http://www.mvdevelopment.com/</A>
--When replying please include all of the contents of this message--
-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Nerd Boy Help Desk
Sent: Friday, February 04, 2005 12:36 AM
To: Merchant User List; [email protected]
Subject: [mru] Token....Code??
Dear All,
Using Viking Templates (all of them), is there a Token or does
someone have a piece of code to throw in to not allow someone to do a
Search unless they are logged in.
I have tried a few things, but nothing seems to work.
Thank you,
Jeffrey R. Collins
1-573-292-1136
<A HREF ="http://www.nbicentral.com">http://www.nbicentral.com</A>
<A HREF ="http://www.crosstowntraffic.net">http://www.crosstowntraffic.net</A>
<A HREF ="http://www.nerdboyinc.com">http://www.nerdboyinc.com</A>
<A HREF ="http://www.nerdboyproductions.com">http://www.nerdboyproductions.com</A>
<A HREF ="http://www.asmallurl.com">http://www.asmallurl.com</A>
For Customer Service and Support:
http://support.nerdboyinc.com
or send email to: [email protected]
Run Your Own Free Lotto Site:
<A HREF ="http://www.yourlottosite.com">http://www.yourlottosite.com</A>
Follow The Nerd Boy
Owner/ Driver Legends Car #99
<A HREF ="http://www.nbiracing.com">http://www.nbiracing.com</A>
Announcement
Collapse
No announcement yet.
Token....Code??
Collapse
X
-
Guest replied
-
Guest repliedToken....Code??
Viking has tokens for this, but I can't remember them off-hand. You might
try the docs. Else, you can use OpenUI tokens. Anytime you want a token
like this, go to Global headers/footers, screen and mess with the dropdowns.
What you want is located under "Current Customer". Anyways, here they are:
%OUI%%begin_notlogin%You must be logged in before
searching%end_notlogin%%begin_login%<form blah><input type="text"
name="pig"></form>
%end_login%
Remember that you may have to use %OUI1% in the template modules. HTH
Jason
> Dear Jason,
>
> Either one will do.
>
> I can give the client the choice.
>
> Actually both would be good. Remove the Search Box and tell them they
> need to be logged in to use the system. Which is pretty much what the
rest
> of the site says.
>
> Thank you,
>
> Nerd Boy
> 1-573-292-1136
> <A HREF ="http://www.nerdboyinc.com">http://www.nerdboyinc.com</A>
> <A HREF ="http://www.crosstowntraffic.net">http://www.crosstowntraffic.net</A>
> <A HREF ="http://www.nerdboyproductions.com">http://www.nerdboyproductions.com</A>
> <A HREF ="http://www.nbicentral.com">http://www.nbicentral.com</A>
> <A HREF ="http://www.asmallurl.com">http://www.asmallurl.com</A>
> <A HREF ="http://www.yourlottosite.com">http://www.yourlottosite.com</A>
>
> For Customer Service and Support:
> http://support.nerdboyinc.com
>
> Follow The Nerd Boy
> Owner/ Driver Legends Car #99
> <A HREF ="http://www.nbiracing.com">http://www.nbiracing.com</A>
>
> ----- Original Message -----
> From: "Jason Henderson" <[email protected]>
> To: "Nerd Boy Help Desk" <[email protected]>; "Merchant User List"
> <[email protected]>; <[email protected]>
> Sent: Friday, February 04, 2005 1:25 AM
> Subject: Re: [mrc] Token....Code??
>
>
> > What exactly do you want to happen? If they are not logged in, a)
remove
> > the search input box or b) have it say "screw you. login before you
> > search"
> > if they attempt to search. ;)
> >
> > Jason
> >
> >
> > Dear All,
> >
> > Using Viking Templates (all of them), is there a Token or does
someone
> > have a piece of code to throw in to not allow someone to do a Search
> > unless
> > they are logged in.
> >
> > I have tried a few things, but nothing seems to work.
> >
> > Thank you,
> >
> > Jeffrey R. Collins
> > 1-573-292-1136
> > <A HREF ="http://www.nbicentral.com">http://www.nbicentral.com</A>
> > <A HREF ="http://www.crosstowntraffic.net">http://www.crosstowntraffic.net</A>
> > <A HREF ="http://www.nerdboyinc.com">http://www.nerdboyinc.com</A>
> > <A HREF ="http://www.nerdboyproductions.com">http://www.nerdboyproductions.com</A>
> > <A HREF ="http://www.asmallurl.com">http://www.asmallurl.com</A>
> >
> > For Customer Service and Support:
> > http://support.nerdboyinc.com
> > or send email to: [email protected]
> >
> > Run Your Own Free Lotto Site:
> > <A HREF ="http://www.yourlottosite.com">http://www.yourlottosite.com</A>
> >
> > Follow The Nerd Boy
> > Owner/ Driver Legends Car #99
> > <A HREF ="http://www.nbiracing.com">http://www.nbiracing.com</A>
> >
> >
Leave a comment:
-
Guest repliedToken....Code??
What exactly do you want to happen? If they are not logged in, a) remove
the search input box or b) have it say "screw you. login before you search"
if they attempt to search. ;)
Jason
Dear All,
Using Viking Templates (all of them), is there a Token or does someone
have a piece of code to throw in to not allow someone to do a Search unless
they are logged in.
I have tried a few things, but nothing seems to work.
Thank you,
Jeffrey R. Collins
1-573-292-1136
<A HREF ="http://www.nbicentral.com">http://www.nbicentral.com</A>
<A HREF ="http://www.crosstowntraffic.net">http://www.crosstowntraffic.net</A>
<A HREF ="http://www.nerdboyinc.com">http://www.nerdboyinc.com</A>
<A HREF ="http://www.nerdboyproductions.com">http://www.nerdboyproductions.com</A>
<A HREF ="http://www.asmallurl.com">http://www.asmallurl.com</A>
For Customer Service and Support:
http://support.nerdboyinc.com
or send email to: [email protected]
Run Your Own Free Lotto Site:
<A HREF ="http://www.yourlottosite.com">http://www.yourlottosite.com</A>
Follow The Nerd Boy
Owner/ Driver Legends Car #99
<A HREF ="http://www.nbiracing.com">http://www.nbiracing.com</A>
Leave a comment:
-
Guest repliedToken....Code??
Dear Jason,
Either one will do.
I can give the client the choice.
Actually both would be good. Remove the Search Box and tell them they
need to be logged in to use the system. Which is pretty much what the rest
of the site says.
Thank you,
Nerd Boy
1-573-292-1136
<A HREF ="http://www.nerdboyinc.com">http://www.nerdboyinc.com</A>
<A HREF ="http://www.crosstowntraffic.net">http://www.crosstowntraffic.net</A>
<A HREF ="http://www.nerdboyproductions.com">http://www.nerdboyproductions.com</A>
<A HREF ="http://www.nbicentral.com">http://www.nbicentral.com</A>
<A HREF ="http://www.asmallurl.com">http://www.asmallurl.com</A>
<A HREF ="http://www.yourlottosite.com">http://www.yourlottosite.com</A>
For Customer Service and Support:
http://support.nerdboyinc.com
Follow The Nerd Boy
Owner/ Driver Legends Car #99
<A HREF ="http://www.nbiracing.com">http://www.nbiracing.com</A>
----- Original Message -----
From: "Jason Henderson" <[email protected]>
To: "Nerd Boy Help Desk" <[email protected]>; "Merchant User List"
<[email protected]>; <[email protected]>
Sent: Friday, February 04, 2005 1:25 AM
Subject: Re: [mrc] Token....Code??
> What exactly do you want to happen? If they are not logged in, a) remove
> the search input box or b) have it say "screw you. login before you
> search"
> if they attempt to search. ;)
>
> Jason
>
>
> Dear All,
>
> Using Viking Templates (all of them), is there a Token or does someone
> have a piece of code to throw in to not allow someone to do a Search
> unless
> they are logged in.
>
> I have tried a few things, but nothing seems to work.
>
> Thank you,
>
> Jeffrey R. Collins
> 1-573-292-1136
> <A HREF ="http://www.nbicentral.com">http://www.nbicentral.com</A>
> <A HREF ="http://www.crosstowntraffic.net">http://www.crosstowntraffic.net</A>
> <A HREF ="http://www.nerdboyinc.com">http://www.nerdboyinc.com</A>
> <A HREF ="http://www.nerdboyproductions.com">http://www.nerdboyproductions.com</A>
> <A HREF ="http://www.asmallurl.com">http://www.asmallurl.com</A>
>
> For Customer Service and Support:
> http://support.nerdboyinc.com
> or send email to: [email protected]
>
> Run Your Own Free Lotto Site:
> <A HREF ="http://www.yourlottosite.com">http://www.yourlottosite.com</A>
>
> Follow The Nerd Boy
> Owner/ Driver Legends Car #99
> <A HREF ="http://www.nbiracing.com">http://www.nbiracing.com</A>
>
>
Leave a comment:
-
Token....Code??
------=_NextPart_000_0310_01C50A49.2AC43800
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Dear All,
Using Viking Templates (all of them), is there a Token or does =
someone have a piece of code to throw in to not allow someone to do a =
Search unless they are logged in.
I have tried a few things, but nothing seems to work.
Thank you,
Jeffrey R. Collins
1-573-292-1136
<A HREF ="http://www.nbicentral.com">http://www.nbicentral.com</A>
<A HREF ="http://www.crosstowntraffic.net">http://www.crosstowntraffic.net</A>
<A HREF ="http://www.nerdboyinc.com">http://www.nerdboyinc.com</A>
<A HREF ="http://www.nerdboyproductions.com">http://www.nerdboyproductions.com</A>
<A HREF ="http://www.asmallurl.com">http://www.asmallurl.com</A>
For Customer Service and Support:
http://support.nerdboyinc.com
or send email to: [email protected]
Run Your Own Free Lotto Site:
<A HREF ="http://www.yourlottosite.com">http://www.yourlottosite.com</A>
Follow The Nerd Boy
Owner/ Driver Legends Car #99
<A HREF ="http://www.nbiracing.com">http://www.nbiracing.com</A>
------=_NextPart_000_0310_01C50A49.2AC43800--
Tags: None
Leave a comment: