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 08-12-2002 21:35:39

weathers
Member
Registered: 08-10-2002
Posts: 26

Category Ref/URL String... I don't get it.

The manual says:

"Category Ref/URL String
The category ref/URL string identifies categories within the administrator utility. It also allows you
to create links to categories from system generated and outside HTML pages. Presented below is
an example of a link from a script generated HTML page or element to a category:"

I have no idea what this is driving at or what I should do with it. Could someone explain it a bit more.

Offline

 

#2 08-13-2002 07:47:17

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

Re: Category Ref/URL String... I don't get it.

The Category Ref/URL String is the primary key in the category table for each category.  It's used in URLs to link to a particular category.  If you enter 'CAT100' for a Category Ref/URL String, then the link you would use to link to it would be:

<A HREF="<CGIVAR>common_url</CGIVAR>&pg=cat&ref=CAT100">Click here</A>


Nick Hendler

Offline

 

#3 08-13-2002 08:59:07

weathers
Member
Registered: 08-10-2002
Posts: 26

Re: Category Ref/URL String... I don't get it.

The problem is:
<A HREF="<CGIVAR>common_url</CGIVAR>&pg=cat&ref=CAT100">Click here</A> will not fit.

The window cuts it off at the "C" in the  </CGIVAR


This is all that it will take:

<A HREF="<CGIVAR>common_url</C

Offline

 

#4 08-13-2002 10:26:39

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

Re: Category Ref/URL String... I don't get it.

No, sorry.  For the Category Ref/URL String just put in the CAT100 or whatever.  When you're linking you use the URL specified in the manual.


Nick Hendler

Offline

 

#5 08-13-2002 21:50:47

Hilery
Member
Registered: 02-24-2002
Posts: 44
Website

Re: Category Ref/URL String... I don't get it.

This doesn't seem to work in the category descriptions, any suggetions?

Offline

 

#6 08-13-2002 22:24:13

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

Re: Category Ref/URL String... I don't get it.

The category descriptions don't pick up <CGIVAR>s if that's what you mean?


Nick Hendler

Offline

 

#7 05-27-2003 07:21:57

Guest
Guest

Re: Category Ref/URL String... I don't get it.

>The category descriptions don't pick up <CGIVAR>s if that's what you mean?


So how can I enter a link to an other category in the category description box?
Thanks,
Ugo.

 

#8 06-04-2003 10:38:16

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

Re: Category Ref/URL String... I don't get it.

You can always just call it with a URL:

<A HREF="cp-app.cgi?pg=cat&ref=xxx">Other Cat</A>

___________________________

Nick Hendler
Webmaster, Kryptronic, Inc.


Nick Hendler

Offline

 

#9 08-13-2002 22:51:51

weathers
Member
Registered: 08-10-2002
Posts: 26

Re: Category Ref/URL String... I don't get it.

I stuck in CAT1. I will check if it works later.

It would be helpful if you would write a little conceptual discussion of how each of these things are used for what. It would save you many stupid quesitons later. If it is some how covered in the manual and I have not found it, a hyperlink to that discussion would be helpful.

At this point I can say I have not a clue what the relevance or use of this CAT1 may be. Why would I want to reference it from where to do what?

I am just setting up the ultimate simple shopping cart; just one book. All that they can chose is how many, and 99% will only buy one.

Thanks for your prompt and helpful replies

Larry

Offline

 

#10 08-14-2002 06:45:52

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

Re: Category Ref/URL String... I don't get it.

The Category Ref/URL String is the primary key in the database table 'category'.  The primary key is used to identify the category in URLs.  It's basically a unique identifier, like the reference numbers we used in CCP4.


Nick Hendler

Offline

 

Board footer