Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 03-10-2004 04:13:33

mattkrause
Member
From: Seattle, USA
Registered: 01-28-2004
Posts: 189
Website

Category Link

On the product detail pages, I like the navigation links that result from ste_cat_nav (i.e. "home>monitors").

But after I email-a-friend from the product detail page, the category portion of that nav link drops out (so "home>monitors" becomes simply "home").

I notice the demo cart on the CCP website also does this.

Is there a way I can keep the category name in there on that navigation link?

Thanks,

Matt


Matt Krause
Website:

Offline

 

#2 03-10-2004 08:51:58

scoutch
Banned
Registered: 07-03-2003
Posts: 3167

Re: Category Link

That would require some modifications in ste_cat.pl file in the NAV paragraph. If you do not know how to make these modifications, I'd suggest you send a quote to ATS, he'll do the job fast and fair for you.


______________________________________________

THIS USER HAS BEEN BANNED FROM THIS FORUM.

If this post contains any language related to
code samples, advice, etc., please read this
entire thread before making a decision to use
this post as a basis for any change to your
software installation.
______________________________________________

Offline

 

#3 03-11-2004 01:51:47

mattkrause
Member
From: Seattle, USA
Registered: 01-28-2004
Posts: 189
Website

Re: Category Link

Thanks Scoutch.  I'll just put it on the "back burner" for now.

Matt


Matt Krause
Website:

Offline

 

#4 03-12-2004 13:03:30

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Category Link

It appears that the email a friend form doesn't have the cat variables in it.  Add them to the Email A Friend Form element:

Code:


<INPUT TYPE="HIDDEN" NAME="cat" VALUE="(CGIVAR)category_id(/CGIVAR)">
<INPUT TYPE="HIDDEN" NAME="catstr" VALUE="(CGIVAR)catstring(/CGIVAR)">


Nick Hendler

Offline

 

#5 03-12-2004 18:30:49

mattkrause
Member
From: Seattle, USA
Registered: 01-28-2004
Posts: 189
Website

Re: Category Link

Thanks for checking in on this one, Nick. 

I added your suggested tags to the ste_emailfriend element.  I made sure to put them between the <form></form> tags.  But the category still gets dropped from the Nav links after returning from Email-A-Friend.

I viewed the source code on the html page BEFORE clicking Email A Friend.  I see the new tags there, but the cat data isn't populated.  They say:
<INPUT TYPE="HIDDEN" NAME="cat" VALUE="">
<INPUT TYPE="HIDDEN" NAME="catstr" VALUE="">

The same tags, when they're up higher on the source code in the product detail portion, say:
<INPUT TYPE="HIDDEN" NAME="cat" VALUE="Evil_Eye">
<INPUT TYPE="HIDDEN" NAME="catstr" VALUE="">

Any idea what's up?

My site:  wwwhomesickturk.com/ccp51/cgi-bin/cp-app.cgi

BTW, it's a back-burner issue for me, so isn't crying out for resolution if it's a thorny issue.

Thanks Nick.

Matt




Matt Krause
Website:

Offline

 

#6 03-12-2004 18:44:08

scoutch
Banned
Registered: 07-03-2003
Posts: 3167

Re: Category Link

It looks like the products are related with the category strings but the categories are not related with the products . . .

And you did put has mentionned in your emailafriend page ?


______________________________________________

THIS USER HAS BEEN BANNED FROM THIS FORUM.

If this post contains any language related to
code samples, advice, etc., please read this
entire thread before making a decision to use
this post as a basis for any change to your
software installation.
______________________________________________

Offline

 

#7 03-12-2004 19:02:48

mattkrause
Member
From: Seattle, USA
Registered: 01-28-2004
Posts: 189
Website

Re: Category Link

Hi Scoutch,

I'm not sure what to do with your post.  Other than associating products with categories via the "Related Categories" box on the "Manage Products" pages, is there somewhere else I should be tying them together?

And yes, I did put the two "INPUT TYPE" tags into the emailafriend page (between the <form></form> tags in ste_emailfriend).

Matt



Matt Krause
Website:

Offline

 

#8 03-12-2004 19:08:44

scoutch
Banned
Registered: 07-03-2003
Posts: 3167

Re: Category Link


And yes, I did put the two "INPUT TYPE" tags into the emailafriend page (between the <form></form> tags in ste_emailfriend).

You mean right under : ste_mail_emailfriend_proc's input right ?

I just hope you won't need to add a :

&initialize_sub_require('ste_cat_nav');
&ste_cat_nav;

in the ste_mail.pl file because ... to be honnest, I don't know the rest that goes after these two lines with e-mail a friend function since it is not an independant page that we can just type with the cp-app file (i.e : cp-app.cgi?pg=emailafriend) since that won't work.

I'm stuck myself . . . how surprising hehe !

Wait a sec . . . that's it. Move the two mentionned lines from Nick on "top" on the : "product_name" line. That should take effect.

Keep me posted on this.


______________________________________________

THIS USER HAS BEEN BANNED FROM THIS FORUM.

If this post contains any language related to
code samples, advice, etc., please read this
entire thread before making a decision to use
this post as a basis for any change to your
software installation.
______________________________________________

Offline

 

#9 03-13-2004 02:22:47

mattkrause
Member
From: Seattle, USA
Registered: 01-28-2004
Posts: 189
Website

Re: Category Link

Scoutch,

No, when I say...

mattkrause,03/12/2004 06:30:49 PM wrote:


And yes, I did put the two "INPUT TYPE" tags into the emailafriend page (between the <form></form> tags in ste_emailfriend).

I just mean in the ste_emailfriend element, in the Admin section, under "HTML Pages & Elements", "Manage Site Elements". Nick's post suggested adding them into the element, and that's what I understand it to mean.

I tried your suggestion, moving the two INPUT tags above the product_name line in the ste_emailfriend element. But it's still dropping the cat name.

Unless someone posts further instruction, I'll just see if I can hand it over to Mark at ATS, have him take care of it for me.

Thanks,

Matt


Matt Krause
Website:

Offline

 

Board footer