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.
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
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>
Online
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
>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.
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.
Online
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
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.
Online